Skip to content

Commit 7c8adf5

Browse files
Gary GambillGary Gambill
Gary Gambill
authored and
Gary Gambill
committed
Fix SCSS data loader option
update nativescript-dev-webpack ver.
1 parent abc8dba commit 7c8adf5

File tree

4 files changed

+42
-63
lines changed

4 files changed

+42
-63
lines changed

generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = async (api, options, rootOptions) => {
8282
'tns-core-modules': '^5.4.1'
8383
},
8484
devDependencies: {
85-
'nativescript-dev-webpack': '^0.22.0',
85+
'nativescript-dev-webpack': '^0.24.0',
8686
'nativescript-vue-template-compiler': '^2.2.2',
8787
'nativescript-worker-loader': '~0.9.5',
8888
'node-sass': '^4.11.0',

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ const nativeConfig = (api, projectOptions, env, projectRoot, platform) => {
542542
{
543543
minimize: false,
544544
url: false,
545-
data: '$PLATFORM: ' + platform
545+
data: '$PLATFORM: ' + platform + ';'
546546
}
547547
)
548548
)
@@ -559,7 +559,7 @@ const nativeConfig = (api, projectOptions, env, projectRoot, platform) => {
559559
{
560560
minimize: false,
561561
url: false,
562-
data: '$PLATFORM: ' + platform
562+
data: '$PLATFORM: ' + platform + ';'
563563
}
564564
)
565565
)

package-lock.json

Lines changed: 38 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"eslint": "^5.16.0",
3939
"eslint-plugin-vue": "^5.2.2",
4040
"fork-ts-checker-webpack-plugin": "^1.3.4",
41-
"nativescript-dev-webpack": "0.22.0",
41+
"nativescript-dev-webpack": "^0.24.0",
4242
"nativescript-vue-template-compiler": "^2.2.2",
4343
"prettier": "^1.17.1",
4444
"prettier-eslint": "^8.8.2",

0 commit comments

Comments
 (0)