Skip to content

Commit

Permalink
Revert "Don't change rollup for style-spec and benchmarks"
Browse files Browse the repository at this point in the history
This reverts commit 62a7e14.
  • Loading branch information
birkskyum committed Feb 9, 2022
1 parent b694acf commit d2932bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bench/rollup_config_benchmarks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ const viewConfig: RollupOptions = {
sourcemap: false
},
plugins: [
resolve({browser: true, preferBuiltins: false}),
resolve({
browser: true,
preferBuiltins: false,
extensions: ['.mjs', '.js', '.json', '.node', '.ts']
}),
watch ? typescript() : null,
commonjs(),
replace(replaceConfig)
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.style-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const config: RollupOptions[] = [{
unassert(),
resolve({
browser: true,
preferBuiltins: false
preferBuiltins: false,
extensions: ['.mjs', '.js', '.json', '.node', '.ts']
}),
commonjs()
]
Expand Down

0 comments on commit d2932bf

Please sign in to comment.