-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Following the minimal example:
new MergeIntoSingleFilePlugin({
files: {
"vendor.js": [
'src/assets/vendors/js/vendor.bundle.base.js'
]
}
}),
<script src="./vendor.js"></script>
I get this error when I execute npm run dev
Error: Child compilation failed:
Module not found: Error: Can't resolve './vendor.js' in '/home/jarvis/Incubator/webpack-starter/src':
Error: Can't resolve './vendor.js' in '/home/jarvis/Incubator/webpack-starter/src'
But if I execute npm run build, I can see a new vendor.js file in dist folder and everything works fine!
What can I do to have the ./vendor.js at development stage?
Thanks
Metadata
Metadata
Assignees
Labels
No labels