Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 3b6a1c8

Browse files
committed
feat: use the nativescript fork of css-loader
1 parent f41f962 commit 3b6a1c8

3 files changed

+3
-3
lines changed

Diff for: postinstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ configureDevDependencies(packageJson, function (add) {
4848
add("webpack-sources", "~0.1.3");
4949
add("copy-webpack-plugin", "~3.0.1");
5050
add("raw-loader", "~0.5.1");
51-
add("css-loader", "~0.26.0");
51+
add("nativescript-css-loader", "~0.26.0");
5252
add("resolve-url-loader", "~1.6.0");
5353
add("extract-text-webpack-plugin", "~2.0.0-beta.4");
5454

Diff for: webpack.common.js.angular.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module.exports = function (platform, destinationApp) {
117117
test: /app\.css$/,
118118
loader: ExtractTextPlugin.extract([
119119
"resolve-url-loader",
120-
"css-loader",
120+
"nativescript-css-loader",
121121
"nativescript-dev-webpack/platform-css-loader",
122122
]),
123123
},

Diff for: webpack.common.js.nativescript.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ module.exports = function (platform, destinationApp) {
100100
test: /app\.css$/,
101101
loader: ExtractTextPlugin.extract([
102102
"resolve-url-loader",
103-
"css-loader",
103+
"nativescript-css-loader",
104104
"nativescript-dev-webpack/platform-css-loader",
105105
]),
106106
},

0 commit comments

Comments
 (0)