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
I went back and found the tutorial Alex used to initialize the project and setup the Webpack configuration: "Making work the Vue.js webpack template with cordova". I think I've found the problem with this setup which is leading to the duplication I mentioned in #14 (comment).
The tutorial goes against Webpack best practices by copying the webpack.base.conf.js file itself and making changes in the copy, instead of using webpack-merge. The build-mobile script then points to the copy, not the base, which is now wholly ignored, kinda defeating the purpose of a base configuration. Found a good article on using merge: "Composing Configuration".
The text was updated successfully, but these errors were encountered:
Merging the mobile conf wasn't strictly necessary, but this issue is resolved by /issues/8. Still a little work should be done to tidy up the native Webpack config, which can be addressed in #22 .
I went back and found the tutorial Alex used to initialize the project and setup the Webpack configuration: "Making work the Vue.js webpack template with cordova". I think I've found the problem with this setup which is leading to the duplication I mentioned in #14 (comment).
The tutorial goes against Webpack best practices by copying the
webpack.base.conf.js
file itself and making changes in the copy, instead of using webpack-merge. Thebuild-mobile
script then points to the copy, not the base, which is now wholly ignored, kinda defeating the purpose of a base configuration. Found a good article on using merge: "Composing Configuration".The text was updated successfully, but these errors were encountered: