mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
fix(testing-karma): hotfix use @babel/polyfill/dist
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
"site:start": "npm run vuepress:start",
|
||||
"test": "lerna run test --stream --concurrency 1",
|
||||
"test:ci": "lerna run test:ci",
|
||||
"test:es5": "lerna run test:es5 --stream --concurrency 1",
|
||||
"test:es5:bs": "lerna run test:es5:bs --stream --concurrency 1",
|
||||
"vuepress:build": "vuepress build docs",
|
||||
"vuepress:start": "vuepress dev docs"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
module.exports = () => ({
|
||||
files: [
|
||||
{ pattern: require.resolve('@babel/polyfill/browser'), watched: false },
|
||||
{ pattern: require.resolve('@babel/polyfill/dist/polyfill.min.js'), watched: false },
|
||||
{
|
||||
pattern: require.resolve('@webcomponents/webcomponentsjs/custom-elements-es5-adapter'),
|
||||
watched: false,
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"@babel/core": "^7.1.6",
|
||||
"@babel/plugin-syntax-import-meta": "^7.0.0",
|
||||
"@babel/polyfill": "^7.0.0",
|
||||
"@babel/preset-env": "^7.0.0",
|
||||
"@open-wc/webpack": "^0.1.3",
|
||||
"@webcomponents/webcomponentsjs": "^2.2.0",
|
||||
"babel-loader": "^8.0.4",
|
||||
|
||||
Reference in New Issue
Block a user