This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork40
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Webpack compilation doesn't stop on syntactic errors in js/vue apps #1067
Open
Labels
Description
Environment
CLI: @next
Plugin(s): nativescript-dev-webpack@next
Describe the bug
webpack compilation doesn't stop on syntactic errors in js/vue apps
To Reproduce
tns create js_app --js
npm i nativescript-dev-webpack@next --save-dev --save-exact
node_modules/.bin/update-ns-webpack --deps --configs
tns run iOS
- In main-view-model.js make syntactic error (add additional " somewhere)
Result: webpack doesn't stop on error the app is deployed and crashes
Expected behavior
the build should stop on the error and app should not be deployed broken
Additional context
Not reproducible with nativescript-dev-webpack@1.2.1
It is reproducible withrun android
too