-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: migrate to ns7 #4
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apart from those changes (to get latest versions and to help with hmr) looks awesome
"description": "NativeScript Application", | ||
"license": "SEE LICENSE IN <your-license-filename>", | ||
"repository": "<fill-your-repository-here>", | ||
"dependencies": { | ||
"nativescript-theme-core": "^2.0.23", | ||
"svelte-native": "^0.6.1", | ||
"tns-core-modules": "~6.1.2" | ||
"svelte-native": "0.9.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to release a fix, so this should probably be ~0.9.2
"typescript": "3.6.2" | ||
"@nativescript/android": "7.0.0", | ||
"svelte": "3.24.1", | ||
"svelte-loader-hot": "0.3.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be "~0.3.0" which should pick up 0.3.1
@@ -231,7 +267,7 @@ module.exports = env => { | |||
exclude: /node_modules/, | |||
use: [ | |||
{ | |||
loader: 'svelte-loader', | |||
loader: 'svelte-loader-hot', | |||
options: { | |||
preprocess: svelteNativePreprocessor(), | |||
hotReload: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to use the following options to keep this happy
options: {
dev: env.production ? false : true,
preprocess: svelteNativePreprocessor(),
hotReload: env.production ? false : true,
hotOptions: {
injectCss: false,
native: true
}
}
No description provided.