You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rtl.js:1 Uncaught Error: Module parse failed: Unexpected token (8:26)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| methods: {
| isRtl () {
> if (this.rplOptions?.siteRtl === true) {
| return true
| } else {
at eval (rtl.js:1)
at Object../node_modules/@dpc-sdp/ripple-global/mixins/rtl.js (chunk-vendors.js:1172)
at __webpack_require__ (app.js:854)
at fn (app.js:151)
at eval (cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./node_modules/@dpc-sdp/ripple-document-link/DocumentLink.vue?vue&type=script&lang=js&:7)
at Module../node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./node_modules/@dpc-sdp/ripple-document-link/DocumentLink.vue?vue&type=script&lang=js& (chunk-vendors.js:3818)
at __webpack_require__ (app.js:854)
at fn (app.js:151)
at eval (DocumentLink.vue?2f1f:1)
at Module../node_modules/@dpc-sdp/ripple-document-link/DocumentLink.vue?vue&type=script&lang=js& (chunk-vendors.js:143)
The text was updated successfully, but these errors were encountered:
I'm also having issues with writing tests due to this. The package comes with untranspiled .vue files - which, by default most testing frameworks etc, will not attempt to transpile code in the `node_modules_ folder.
Describe the bug
Users should be able to use the package without additional webpack/babel configuration etc.
To Reproduce
See repro here:
dwjohnston/vic-gov-data-graph-take-2@d23a212
Expected behaviour
I should be able to use the packages no problems.
Actual behaviour
I get the following error:
The text was updated successfully, but these errors were encountered: