Removing webpack-dev-server
This commit is contained in:
parent
4e5bba1fd5
commit
45f6aabcfb
10
TODO.txt
10
TODO.txt
|
@ -1,11 +1,3 @@
|
||||||
REFACTORING CHECKLIST:
|
|
||||||
- Switch to Webpack Dev Server and Remove Webpack-Flask Dependencies
|
|
||||||
- One Pass Through Every Module's Imports
|
|
||||||
|
|
||||||
NEED:
|
|
||||||
- Deploy Process
|
|
||||||
- Testing
|
|
||||||
|
|
||||||
UX:
|
UX:
|
||||||
- Disable Title Submit Button Without Title
|
- Disable Title Submit Button Without Title
|
||||||
- Disable Modal Submit Button with input
|
- Disable Modal Submit Button with input
|
||||||
|
@ -21,8 +13,6 @@ SHORT LIST:
|
||||||
- Python Unit Tests
|
- Python Unit Tests
|
||||||
- React Unit Tests
|
- React Unit Tests
|
||||||
- ES API Tests?
|
- ES API Tests?
|
||||||
- Create Tags and Note Tagging
|
|
||||||
- Review dependencies
|
|
||||||
|
|
||||||
- v0.2 Reader
|
- v0.2 Reader
|
||||||
- Reader UX
|
- Reader UX
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
"build": "rimraf static/js/ && webpack --config webpack.prod.js --mode=production",
|
"build": "rimraf static/js/ && webpack --config webpack.prod.js --mode=production",
|
||||||
"build_dev": "rimraf static/js/ && webpack --config webpack.prod.js --mode=development",
|
"build_dev": "rimraf static/js/ && webpack --config webpack.prod.js --mode=development",
|
||||||
"watch": "rimraf static/js/ && webpack-cli --config webpack.dev.js --watch --mode=development",
|
"watch": "rimraf static/js/ && webpack-cli --config webpack.dev.js --watch --mode=development",
|
||||||
"dev": "rimraf static/js/ && webpack-dev-server --hot --inline --config webpack.dev.js --mode=development",
|
|
||||||
"test": "python setup.py && jest --config jest.config.js --no-cache && python setup.py"
|
"test": "python setup.py && jest --config jest.config.js --no-cache && python setup.py"
|
||||||
},
|
},
|
||||||
"author": "Alex Hunt",
|
"author": "Alex Hunt",
|
||||||
|
@ -50,7 +49,6 @@
|
||||||
"webpack": "^4.6.0",
|
"webpack": "^4.6.0",
|
||||||
"webpack-bundle-analyzer": "^2.11.1",
|
"webpack-bundle-analyzer": "^2.11.1",
|
||||||
"webpack-cli": "^3.1.2",
|
"webpack-cli": "^3.1.2",
|
||||||
"webpack-dev-server": "^3.1.10",
|
|
||||||
"webpack-manifest-plugin": "^2.0.4",
|
"webpack-manifest-plugin": "^2.0.4",
|
||||||
"webpack-merge": "^4.1.2"
|
"webpack-merge": "^4.1.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
const merge = require('webpack-merge');
|
const merge = require('webpack-merge')
|
||||||
const common = require('./webpack.common.js');
|
const common = require('./webpack.common.js')
|
||||||
|
|
||||||
module.exports = merge(common, {
|
module.exports = merge(common, {
|
||||||
devServer: {
|
|
||||||
contentBase: '.',
|
|
||||||
hot: true
|
|
||||||
},
|
|
||||||
watch: true,
|
watch: true,
|
||||||
watchOptions: {
|
watchOptions: {
|
||||||
poll: true,
|
poll: true,
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack')
|
||||||
const merge = require('webpack-merge');
|
const merge = require('webpack-merge')
|
||||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
|
||||||
const common = require('./webpack.common.js');
|
const common = require('./webpack.common.js')
|
||||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
module.exports = merge(common, {
|
module.exports = merge(common, {
|
||||||
|
|
Loading…
Reference in New Issue