-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IUM-1464 Fix bundle generation to avoid babel inserting imports state…
…ments in commonjs modules
- Loading branch information
Showing
6 changed files
with
3,394 additions
and
3,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
sourceType: 'unambiguous', | ||
presets: ['@babel/preset-env', '@babel/preset-react'], | ||
plugins: [ | ||
'@babel/plugin-transform-runtime', | ||
'@babel/plugin-proposal-object-rest-spread', | ||
'@babel/plugin-syntax-dynamic-import' | ||
] | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "auth0-account-link-extension", | ||
"version": "2.6.4", | ||
"version": "2.6.5", | ||
"description": "Auth0 Account Link Extension", | ||
"main": "index.js", | ||
"engines": { | ||
|
@@ -11,9 +11,10 @@ | |
"test": "nyc --all mocha test --recursive --timeout 5000", | ||
"test:integration": "mocha integration --recursive --timeout 50000", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint --fix .", | ||
"serve:dev": "gulp run", | ||
"client:build": "minify --clean --output dist/assets/link.$npm_package_version.min.css public/css/link.css && minify --clean --output dist/assets/admin.$npm_package_version.min.css public/css/admin.css", | ||
"extension:build": "a0-ext build:server ./webtask.js ./dist && cp ./dist/auth0-account-link.extension.$npm_package_version.js ./build/bundle.js", | ||
"extension:build": "a0-ext build:server ./webtask.js ./dist && cp ./dist/auth0-account-link-extension.extension.$npm_package_version.js ./build/bundle.js", | ||
"build": "yarn run client:build && yarn run extension:build" | ||
}, | ||
"author": "Auth0", | ||
|
@@ -23,7 +24,7 @@ | |
"bundleModules": true, | ||
"externals": [ | ||
"[email protected]", | ||
"auth0-extension-tools@1.3.1", | ||
"auth0-extension-tools@1.4.0", | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]", | ||
|
@@ -71,7 +72,7 @@ | |
"@auth0/hapi": "13.5.1", | ||
"auth0": "^2.8.0", | ||
"auth0-extension-hapi-tools": "1.3.1", | ||
"auth0-extension-tools": "1.3.1", | ||
"auth0-extension-tools": "1.4.0", | ||
"boom": "3.2.2", | ||
"hapi-auth-jwt2": "7.0.1", | ||
"inert": "4.0.1", | ||
|
@@ -86,8 +87,7 @@ | |
"winston": "1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/runtime": "7.0.0-beta.46", | ||
"auth0-extensions-cli": "^1.1.2", | ||
"auth0-extensions-cli": "^4.0.4", | ||
"chai": "^4.1.0", | ||
"eslint": "^4.3.0", | ||
"eslint-config-auth0": "^11.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.