File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' spectacle ' : patch
3+ ---
4+
5+ Fix lib babel output to correctly produce CommonJS and not ESM (see #1250 ).
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ module.exports = {
2525 'babel:pkg:lib:esm' :
2626 'cross-env BABEL_ENV=es nps "babel:pkg:base src --out-dir es"' ,
2727 'babel:pkg:lib:cjs' :
28- 'cross-env BABEL_ENV=commonjs nps "babel:pkg:base src --out-dir lib"' ,
28+ 'cross-env BABEL_ENV=cjs nps "babel:pkg:base src --out-dir lib"' ,
2929
3030 // - Webpack
3131 webpack : 'webpack' ,
Original file line number Diff line number Diff line change 9898 "files" : [
9999 " src/**" ,
100100 " !src/**/*.test.*" ,
101+ " ../../package-scripts.js" ,
101102 " ../../.babelrc.js" ,
102103 " ../../.babelrc.build.js"
103104 ],
113114 "files" : [
114115 " src/**" ,
115116 " !src/**/*.test.*" ,
117+ " ../../package-scripts.js" ,
116118 " ../../.babelrc.js" ,
117119 " ../../.babelrc.build.js"
118120 ],
You can’t perform that action at this time.
0 commit comments