Answer the question
In order to leave comments, you need to log in
vue-cli webpack-simple build issue?
Installed vue-cli globally. I created a project with the webpack-simple template, but it swears when building: Module not found: Error: Can't resolve 'fs'
Google offers a solution in the form of adding a line to webpack.config.js:
node: {
fs: 'empty'
},
TypeError: exists is not a function
target: 'node'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question