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:
|
||||
- Disable Title Submit Button Without Title
|
||||
- Disable Modal Submit Button with input
|
||||
|
@ -21,8 +13,6 @@ SHORT LIST:
|
|||
- Python Unit Tests
|
||||
- React Unit Tests
|
||||
- ES API Tests?
|
||||
- Create Tags and Note Tagging
|
||||
- Review dependencies
|
||||
|
||||
- v0.2 Reader
|
||||
- Reader UX
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
"build": "rimraf static/js/ && webpack --config webpack.prod.js --mode=production",
|
||||
"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",
|
||||
"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"
|
||||
},
|
||||
"author": "Alex Hunt",
|
||||
|
@ -50,7 +49,6 @@
|
|||
"webpack": "^4.6.0",
|
||||
"webpack-bundle-analyzer": "^2.11.1",
|
||||
"webpack-cli": "^3.1.2",
|
||||
"webpack-dev-server": "^3.1.10",
|
||||
"webpack-manifest-plugin": "^2.0.4",
|
||||
"webpack-merge": "^4.1.2"
|
||||
}
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
const merge = require('webpack-merge');
|
||||
const common = require('./webpack.common.js');
|
||||
const merge = require('webpack-merge')
|
||||
const common = require('./webpack.common.js')
|
||||
|
||||
module.exports = merge(common, {
|
||||
devServer: {
|
||||
contentBase: '.',
|
||||
hot: true
|
||||
},
|
||||
watch: true,
|
||||
watchOptions: {
|
||||
poll: true,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
const webpack = require('webpack');
|
||||
const merge = require('webpack-merge');
|
||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||
const common = require('./webpack.common.js');
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
const webpack = require('webpack')
|
||||
const merge = require('webpack-merge')
|
||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
|
||||
const common = require('./webpack.common.js')
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
||||
const path = require('path')
|
||||
|
||||
module.exports = merge(common, {
|
||||
|
|
Loading…
Reference in New Issue