Skip to content

Commit a172df9

Browse files
author
Maxime GRIS
committed
Fix webpack.config file path (travisci)
1 parent 60d6116 commit a172df9

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

webpack.config.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ module.exports = {
3737
},
3838
"entry": {
3939
"main": [
40-
"./src\\main.ts"
40+
"./src/main.ts"
4141
],
4242
"polyfills": [
43-
"./src\\polyfills.ts"
43+
"./src/polyfills.ts"
4444
],
4545
"styles": [
46-
"./src\\styles.scss"
46+
"./src/styles.scss"
4747
]
4848
},
4949
"output": {
@@ -79,7 +79,7 @@ module.exports = {
7979
},
8080
{
8181
"exclude": [
82-
path.join(process.cwd(), "src\\styles.scss")
82+
path.join(process.cwd(), "src/styles.scss")
8383
],
8484
"test": /\.css$/,
8585
"loaders": [
@@ -90,7 +90,7 @@ module.exports = {
9090
},
9191
{
9292
"exclude": [
93-
path.join(process.cwd(), "src\\styles.scss")
93+
path.join(process.cwd(), "src/styles.scss")
9494
],
9595
"test": /\.scss$|\.sass$/,
9696
"loaders": [
@@ -102,7 +102,7 @@ module.exports = {
102102
},
103103
{
104104
"exclude": [
105-
path.join(process.cwd(), "src\\styles.scss")
105+
path.join(process.cwd(), "src/styles.scss")
106106
],
107107
"test": /\.less$/,
108108
"loaders": [
@@ -114,7 +114,7 @@ module.exports = {
114114
},
115115
{
116116
"exclude": [
117-
path.join(process.cwd(), "src\\styles.scss")
117+
path.join(process.cwd(), "src/styles.scss")
118118
],
119119
"test": /\.styl$/,
120120
"loaders": [
@@ -126,7 +126,7 @@ module.exports = {
126126
},
127127
{
128128
"include": [
129-
path.join(process.cwd(), "src\\styles.scss")
129+
path.join(process.cwd(), "src/styles.scss")
130130
],
131131
"test": /\.css$/,
132132
"loaders": ExtractTextPlugin.extract({
@@ -140,7 +140,7 @@ module.exports = {
140140
},
141141
{
142142
"include": [
143-
path.join(process.cwd(), "src\\styles.scss")
143+
path.join(process.cwd(), "src/styles.scss")
144144
],
145145
"test": /\.scss$|\.sass$/,
146146
"loaders": ExtractTextPlugin.extract({
@@ -155,7 +155,7 @@ module.exports = {
155155
},
156156
{
157157
"include": [
158-
path.join(process.cwd(), "src\\styles.scss")
158+
path.join(process.cwd(), "src/styles.scss")
159159
],
160160
"test": /\.less$/,
161161
"loaders": ExtractTextPlugin.extract({
@@ -170,7 +170,7 @@ module.exports = {
170170
},
171171
{
172172
"include": [
173-
path.join(process.cwd(), "src\\styles.scss")
173+
path.join(process.cwd(), "src/styles.scss")
174174
],
175175
"test": /\.styl$/,
176176
"loaders": ExtractTextPlugin.extract({
@@ -204,7 +204,7 @@ module.exports = {
204204
}),
205205
new ProgressPlugin(),
206206
new HtmlWebpackPlugin({
207-
"template": "./src\\index.html",
207+
"template": "./src/index.html",
208208
"filename": "./index.html",
209209
"hash": false,
210210
"inject": true,
@@ -286,10 +286,10 @@ module.exports = {
286286
new AotPlugin({
287287
"mainPath": "main.ts",
288288
"hostReplacementPaths": {
289-
"environments\\environment.ts": "environments\\environment.ts"
289+
"environments/environment.ts": "environments/environment.ts"
290290
},
291291
"exclude": [],
292-
"tsConfigPath": "src\\tsconfig.app.json",
292+
"tsConfigPath": "src/tsconfig.app.json",
293293
"skipCodeGeneration": true
294294
})
295295
],

0 commit comments

Comments
 (0)