File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { defineConfig , resolvePaths } from '@hypernym/bundler'
1+ import { defineConfig } from '@hypernym/bundler'
22
33export default defineConfig ( {
44 entries : [
55 { input : './src/index.ts' } ,
66 {
77 input : './src/index.ts' ,
8- output : './dist/index.min.mjs ' ,
8+ output : './dist/index.min.js ' ,
99 minify : true ,
1010 } ,
1111 {
@@ -22,12 +22,12 @@ export default defineConfig({
2222 name : 'Hyperutils' ,
2323 minify : true ,
2424 } ,
25- { dts : './src/types/index.ts' , output : './dist/index.d.mts ' } ,
25+ { dts : './src/types/index.ts' , output : './dist/index.d.ts ' } ,
2626 {
2727 input : './src/fs/index.ts' ,
2828 externals : [ / ^ n o d e / , / ^ @ / ] ,
29- paths : resolvePaths ( [ { find : / ^ @ / , replacement : '../index.mjs ' } ] ) ,
29+ paths : [ { find : / ^ @ / , replacement : '../index.js ' } ] ,
3030 } ,
31- { dts : './src/types/fs/index.ts' , output : './dist/fs/index.d.mts ' } ,
31+ { dts : './src/types/fs/index.ts' , output : './dist/fs/index.d.ts ' } ,
3232 ] ,
3333} )
You can’t perform that action at this time.
0 commit comments