mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: lint
This commit is contained in:
parent
4b9267f375
commit
ea929465a8
29 changed files with 42 additions and 19 deletions
|
|
@ -10,7 +10,7 @@ const {
|
|||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
|
||||
|
||||
const {env} = process;
|
||||
const {env} = require('process');
|
||||
const isDev = env.NODE_ENV === 'development';
|
||||
|
||||
const extractCSS = (a) => new ExtractTextPlugin(`${a}.css`);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const {env} = process;
|
||||
const {env} = require('process');
|
||||
|
||||
const isDev = env.NODE_ENV === 'development';
|
||||
|
||||
|
|
|
|||
|
|
@ -11,11 +11,10 @@ const WebpackBar = require('webpackbar');
|
|||
|
||||
const ServiceWorkerWebpackPlugin = require('serviceworker-webpack-plugin');
|
||||
|
||||
const dir = './client';
|
||||
const dirModules = './client/modules';
|
||||
const {env} = require('process');
|
||||
const modules = './modules';
|
||||
|
||||
const {env} = process;
|
||||
const dirModules = './client/modules';
|
||||
const dir = './client';
|
||||
const {NODE_ENV} = env;
|
||||
const isDev = NODE_ENV === 'development';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue