Skip to content

Commit

Permalink
build: upgrade rollup (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats authored Oct 1, 2024
1 parent 3616032 commit 62caf0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"query"
],
"dependencies": {
"flattie": "~1.1.0",
"flattie": "~1.1.1",
"got": "~11.8.6",
"whoops": "~4.1.7"
},
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"@ksmithut/prettier-standard": "latest",
"@rollup/plugin-commonjs": "26",
"@rollup/plugin-commonjs": "latest",
"@rollup/plugin-node-resolve": "latest",
"@rollup/plugin-replace": "latest",
"@rollup/plugin-terser": "latest",
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const builds = [
build({
input: './src/node.js',
output: { file: 'src/node.mjs', format: 'es' },
plugins: [commonjs(), rewriteFlattie()]
plugins: [commonjs({ strictRequires: 'auto' }), rewriteFlattie()]
}),
build({
compress: false,
Expand All @@ -51,7 +51,7 @@ const builds = [
nodeResolve({
mainFields: ['browser', 'module', 'main']
}),
commonjs()
commonjs({ strictRequires: 'auto' })
]
}),
build({
Expand All @@ -62,7 +62,7 @@ const builds = [
nodeResolve({
mainFields: ['browser', 'module', 'main']
}),
commonjs()
commonjs({ strictRequires: 'auto' })
]
})
]
Expand Down

0 comments on commit 62caf0b

Please sign in to comment.