Skip to content

Commit e3da93d

Browse files
author
David Silva
committed
Removed unused plugin CNAMEWebpack
1 parent 577e970 commit e3da93d

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

config/webpack.config.prod.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const paths = require('./paths');
1414
const getClientEnvironment = require('./env');
1515
const commonConfig = require('./webpack.config.common');
1616
const merge = require('webpack-merge');
17-
const CnameWebpackPlugin = require('cname-webpack-plugin');
1817

1918
// Webpack uses `publicPath` to determine where the app is being served from.
2019
// It requires a trailing slash, or the file assets will get an incorrect path.
@@ -215,7 +214,6 @@ module.exports = merge(commonConfig, {
215214
),
216215
// Note: this won't work without `new ExtractTextPlugin()` in `plugins`.
217216
},
218-
{ test: /CNAME?$/, loader: 'file-loader?name=CNAME' },
219217
],
220218
},
221219
],
@@ -316,9 +314,6 @@ module.exports = merge(commonConfig, {
316314
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
317315
// You can remove this if you don't use Moment.js:
318316
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
319-
new CnameWebpackPlugin({
320-
___domain: 'frontend.codecorgi.co',
321-
}),
322317
],
323318
// Some libraries import Node modules but don't use them in the browser.
324319
// Tell Webpack to provide empty mocks for them so importing them works.

package-lock.json

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"babel-runtime": "6.26.0",
2929
"case-sensitive-paths-webpack-plugin": "2.1.1",
3030
"chalk": "1.1.3",
31-
"cname-webpack-plugin": "^1.0.1",
3231
"dotenv": "4.0.0",
3332
"es6-promise": "^4.1.1",
3433
"eslint-config-react-app": "^2.0.1",

0 commit comments

Comments
 (0)