Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: remove babel-plugin-add-module-exports #421

Merged
merged 1 commit into from
Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module.exports = {
plugins: [],
env: {
commonjs: {
plugins: ['babel-plugin-add-module-exports'],
presets: [['@babel/preset-env', { targets: { node: '8' }, modules: 'commonjs' }]],
},
esmBrowser: {
Expand Down
9 changes: 0 additions & 9 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 @@ -52,7 +52,6 @@
"@wdio/static-server-service": "6.0.13",
"@wdio/sync": "6.0.15",
"babel-eslint": "10.1.0",
"babel-plugin-add-module-exports": "1.0.2",
"bundlewatch": "0.2.6",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
Expand Down
2 changes: 1 addition & 1 deletion v1.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const deprecate = require('./deprecate.js');

const v1 = require('./dist/v1.js');
const { default: v1 } = require('./dist/v1.js');

module.exports = deprecate(
v1,
Expand Down
2 changes: 1 addition & 1 deletion v3.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const deprecate = require('./deprecate.js');

const v3 = require('./dist/v3.js');
const { default: v3 } = require('./dist/v3.js');

module.exports = deprecate(
v3,
Expand Down
2 changes: 1 addition & 1 deletion v4.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const deprecate = require('./deprecate.js');

const v4 = require('./dist/v4.js');
const { default: v4 } = require('./dist/v4.js');

module.exports = deprecate(
v4,
Expand Down
2 changes: 1 addition & 1 deletion v5.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const deprecate = require('./deprecate.js');

const v5 = require('./dist/v5.js');
const { default: v5 } = require('./dist/v5.js');

module.exports = deprecate(
v5,
Expand Down