Skip to content

Commit 61e9452

Browse files
jeffdetmerKent C. Dodds
authored andcommitted
fix(rollup): remove experimentalCodeSplitting from config (#82)
* style(rollup): changes from running 'npm run format' * fix(rollup): remove experimentalCodeSplitting from config as of rollup 1.0.0, experimentalCodeSplitting is always active and has been removed as a valid option. removing from the config to resolve the warning received during build.
1 parent 24104ec commit 61e9452

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/config/rollup.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ const replacements = Object.entries(
139139
module.exports = {
140140
input: codeSplitting ? input : input[0],
141141
output,
142-
experimentalCodeSplitting: codeSplitting,
143142
external: externalPredicate,
144143
plugins: [
145144
isNode ? nodeBuiltIns() : null,

src/scripts/build/rollup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const useBuiltinConfig =
2323
const config = useBuiltinConfig
2424
? `--config ${hereRelative('../../config/rollup.config.js')}`
2525
: args.includes('--config')
26-
? ''
27-
: '--config' // --config will pick up the rollup.config.js file
26+
? ''
27+
: '--config' // --config will pick up the rollup.config.js file
2828

2929
const environment = parsedArgs.environment
3030
? `--environment ${parsedArgs.environment}`

0 commit comments

Comments
 (0)