On MacOs, chokidar includes fsevents.
When building the application, it fails with the error:
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to pr
ocess this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
I have tried anything I could find online in regards to this issue. Mainly extending the webpack config in vue.config.js.
For example
const nodeExternals = require("webpack-node-externals");
module.exports = {
configureWebpack: {
target: "node",
externals: [nodeExternals()],
}
}
Nothing fixed the issue and I would appreciate any help.
Is there a way to view the final webpack config that is generated? I feel like the changes in the vue config in regards to the webpack config are not picked up properly.
On MacOs, chokidar includes fsevents.
When building the application, it fails with the error:
I have tried anything I could find online in regards to this issue. Mainly extending the webpack config in vue.config.js.
For example
Nothing fixed the issue and I would appreciate any help.
Is there a way to view the final webpack config that is generated? I feel like the changes in the vue config in regards to the webpack config are not picked up properly.