diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-04 11:06:06 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-04 11:06:06 +0200 |
commit | ce98c80ca7a810c8314b3d49c98610ceef8a8ee7 (patch) | |
tree | ad9e6470f4418ca1552baeec14b90c47a2332d42 /client/config | |
parent | c21f59d334b748be99188688c9578c9cd5432874 (diff) | |
download | PeerTube-ce98c80ca7a810c8314b3d49c98610ceef8a8ee7.tar.gz PeerTube-ce98c80ca7a810c8314b3d49c98610ceef8a8ee7.tar.zst PeerTube-ce98c80ca7a810c8314b3d49c98610ceef8a8ee7.zip |
Clean client modules
Diffstat (limited to 'client/config')
-rw-r--r-- | client/config/webpack.common.js | 6 | ||||
-rw-r--r-- | client/config/webpack.dev.js | 19 |
2 files changed, 0 insertions, 25 deletions
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index a48518a35..eb6b7aef4 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js | |||
@@ -147,12 +147,6 @@ module.exports = { | |||
147 | loader: 'json-loader' | 147 | loader: 'json-loader' |
148 | }, | 148 | }, |
149 | 149 | ||
150 | /* | ||
151 | * Raw loader support for *.css files | ||
152 | * Returns file content as string | ||
153 | * | ||
154 | * See: https://github.com/webpack/raw-loader | ||
155 | */ | ||
156 | { | 150 | { |
157 | test: /\.scss$/, | 151 | test: /\.scss$/, |
158 | exclude: /node_modules/, | 152 | exclude: /node_modules/, |
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index 02e9857f7..8c6d1aac7 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -120,25 +120,6 @@ module.exports = webpackMerge(commonConfig, { | |||
120 | resourcePath: 'src' | 120 | resourcePath: 'src' |
121 | }, | 121 | }, |
122 | 122 | ||
123 | /** | ||
124 | * Webpack Development Server configuration | ||
125 | * Description: The webpack-dev-server is a little node.js Express server. | ||
126 | * The server emits information about the compilation state to the client, | ||
127 | * which reacts to those events. | ||
128 | * | ||
129 | * See: https://webpack.github.io/docs/webpack-dev-server.html | ||
130 | */ | ||
131 | devServer: { | ||
132 | port: METADATA.port, | ||
133 | host: METADATA.host, | ||
134 | historyApiFallback: true, | ||
135 | watchOptions: { | ||
136 | aggregateTimeout: 300, | ||
137 | poll: 1000 | ||
138 | }, | ||
139 | outputPath: helpers.root('dist') | ||
140 | }, | ||
141 | |||
142 | /* | 123 | /* |
143 | * Include polyfills or mocks for various node stuff | 124 | * Include polyfills or mocks for various node stuff |
144 | * Description: Node configuration | 125 | * Description: Node configuration |