vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.75k stars 154 forks source link

"export 'CSS' was not found in '@stencil/core' warning when npm run build #306

Open y1feng200156 opened 2 years ago

y1feng200156 commented 2 years ago
 warning  in ./node_modules/@stencil/core/internal/client/patch-esm.js

12:17-20 "export 'plt' was not found in '@stencil/core'

 warning  in ./node_modules/@stencil/core/internal/client/patch-esm.js

12:33-36 "export 'win' was not found in '@stencil/core'

 warning  in ./node_modules/@stencil/core/internal/client/patch-esm.js

13:23-26 "export 'plt' was not found in '@stencil/core'

 warning  in ./node_modules/@stencil/core/internal/client/patch-esm.js

21:11-25 "export 'promiseResolve' was not found in '@stencil/core'

 warning  in ./node_modules/@stencil/core/internal/client/patch-esm.js

9:30-33 "export 'CSS' was not found in '@stencil/core'

 warning  in ./node_modules/@stencil/core/internal/client/patch-esm.js

9:37-40 "export 'CSS' was not found in '@stencil/core'

 warning  in ./node_modules/@stencil/core/internal/client/patch-esm.js

9:53-56 "export 'CSS' was not found in '@stencil/core'

 warning  in ./node_modules/@stencil/core/internal/client/patch-browser.js

Module parse failed: Unexpected token (31:29)
You may need an appropriate loader to handle this file type.
|         ? Array.from(doc.querySelectorAll('script')).find(s => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || s.getAttribute('data-stencil-namespace') === NAMESPACE)
|         : null;
|     const importMeta = import.meta.url;
|     const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
|     if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {

 @ ./node_modules/@stencil/core/internal/client lazy ^\.\/.*$
 @ ./node_modules/@stencil/core/internal/client/index.js
 @ ./node_modules/@vime/core/dist/custom-elements/index.js
 @ ./node_modules/@vime/vue/dist/esm/index.js
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/pages/auction/details.vue
 @ ./src/components/pages/auction/details.vue
 @ ./src/router/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://[::]:9527 webpack/hot/dev-server ./src/main.js

package.json

"dependencies": {
    "@vime/core": "^5.3.1",
    "@vime/vue": "^5.3.1",

    "vue": "^2.5.2",
    "vuex": "^3.6.2"

    "webpack": "^3.6.0",

    "babel-core": "^6.22.1",
    "babel-helper-vue-jsx-merge-props": "^2.0.3",
    "babel-loader": "^7.1.1",
    "babel-plugin-syntax-jsx": "^6.18.0",
    "babel-plugin-transform-runtime": "^6.22.0",
    "babel-plugin-transform-vue-jsx": "^3.5.0",
    "babel-preset-env": "^1.3.2",
    "babel-preset-stage-2": "^6.22.0",
}