Skip to content

Commit

Permalink
Fix webpack.config file path (travisci)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime GRIS committed Apr 12, 2017
1 parent 60d6116 commit a172df9
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ module.exports = {
},
"entry": {
"main": [
"./src\\main.ts"
"./src/main.ts"
],
"polyfills": [
"./src\\polyfills.ts"
"./src/polyfills.ts"
],
"styles": [
"./src\\styles.scss"
"./src/styles.scss"
]
},
"output": {
Expand Down Expand Up @@ -79,7 +79,7 @@ module.exports = {
},
{
"exclude": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.css$/,
"loaders": [
Expand All @@ -90,7 +90,7 @@ module.exports = {
},
{
"exclude": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.scss$|\.sass$/,
"loaders": [
Expand All @@ -102,7 +102,7 @@ module.exports = {
},
{
"exclude": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.less$/,
"loaders": [
Expand All @@ -114,7 +114,7 @@ module.exports = {
},
{
"exclude": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.styl$/,
"loaders": [
Expand All @@ -126,7 +126,7 @@ module.exports = {
},
{
"include": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.css$/,
"loaders": ExtractTextPlugin.extract({
Expand All @@ -140,7 +140,7 @@ module.exports = {
},
{
"include": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.scss$|\.sass$/,
"loaders": ExtractTextPlugin.extract({
Expand All @@ -155,7 +155,7 @@ module.exports = {
},
{
"include": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.less$/,
"loaders": ExtractTextPlugin.extract({
Expand All @@ -170,7 +170,7 @@ module.exports = {
},
{
"include": [
path.join(process.cwd(), "src\\styles.scss")
path.join(process.cwd(), "src/styles.scss")
],
"test": /\.styl$/,
"loaders": ExtractTextPlugin.extract({
Expand Down Expand Up @@ -204,7 +204,7 @@ module.exports = {
}),
new ProgressPlugin(),
new HtmlWebpackPlugin({
"template": "./src\\index.html",
"template": "./src/index.html",
"filename": "./index.html",
"hash": false,
"inject": true,
Expand Down Expand Up @@ -286,10 +286,10 @@ module.exports = {
new AotPlugin({
"mainPath": "main.ts",
"hostReplacementPaths": {
"environments\\environment.ts": "environments\\environment.ts"
"environments/environment.ts": "environments/environment.ts"
},
"exclude": [],
"tsConfigPath": "src\\tsconfig.app.json",
"tsConfigPath": "src/tsconfig.app.json",
"skipCodeGeneration": true
})
],
Expand Down

0 comments on commit a172df9

Please sign in to comment.