-
Notifications
You must be signed in to change notification settings - Fork 10
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
You may need an appropriate loader to handle this file type. #2
Comments
Hello @wkasem, How do you load the plugin and Vue / Vuex / VuexORM currently? |
using laravel mix and with this babelrc conf
|
From what I read on the Vuex ORM issue board, you might want to add "stage-2" in the presets: vuex-orm/vuex-orm#220 Other solution is to build the change-flag plugin with this option to convert to standard JS (or completely remove from the plugin). |
@wkasem Any update on your issue? |
@tvillaren no i haven't figured it out yet , i have tried , stage-2 preset and tried to remove all presets , everything else is compiled successfully but this plugin !! |
I have the same problem, this plugin breaks edge compatibility.
|
Hmmm, I didn't know edge didn't support spread operator. Maybe we need polyfill for this? We might need to refresh the build system to match other plugins such as Search and Axios and it might go away. Maybe I'll try this but if anyone has time to do it, more than welcome! |
./node_modules/@vuex-orm/plugin-change-flags/dist/index.js
Module parse failed: Unexpected token (59:30)
You may need an appropriate loader to handle this file type.
| install(e, t) {
| const n = {
| ...r,
| ...t
| },
The text was updated successfully, but these errors were encountered: