Skip to content

Commit

Permalink
build(rollup): transpilation is no longer done to bring the support l…
Browse files Browse the repository at this point in the history
…evel below `engines.node`

BREAKING CHANGE: the bundle was previously tranpiled to support node versions down to v12.20. that
transpilation no longer happens, so no support is promised beyond what is defined in `engines.node`
  • Loading branch information
travi committed Aug 6, 2023
1 parent fccc204 commit f73df62
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 44 deletions.
37 changes: 0 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"@form8ion/eslint-config-mocha": "3.0.0",
"@form8ion/javascript-core": "10.0.1",
"@form8ion/remark-lint-preset": "6.0.0",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-node-resolve": "15.1.0",
"@travi/any": "2.1.8",
"ban-sensitive-files": "1.9.19",
Expand Down
6 changes: 0 additions & 6 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
import autoExternal from 'rollup-plugin-auto-external';
import babel from '@rollup/plugin-babel';
import {nodeResolve} from '@rollup/plugin-node-resolve';

export default {
input: 'src/index.js',
plugins: [
autoExternal(),
babel({
babelrc: false,
exclude: ['./node_modules/**'],
presets: [['@form8ion', {targets: {node: '12.20'}, modules: false}]]
}),
nodeResolve({mainFields: ['module']})
],
output: [
Expand Down

0 comments on commit f73df62

Please sign in to comment.