Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-roch committed Oct 22, 2024
1 parent d11524f commit e6a531d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "",
"module": "./dist/index.js",
"main": "./dist/index.js",
"type": "commonjs",
"scripts": {
"build": "NODE_ENV=production webpack"
},
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"baseUrl": ".",
"outDir": "./dist",
"allowSyntheticDefaultImports": true,
"module": "esnext",
"module": "commonjs",
"moduleResolution": "node",
"target": "es2020",
"target": "esnext",
"declaration": true,
"resolveJsonModule": true,
"esModuleInterop": true
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js → webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
path: outputPath,
publicPath: '',
library: {
type: 'module'
type: 'commonjs'
},
},
resolve: {
Expand Down

0 comments on commit e6a531d

Please sign in to comment.