mirror of https://github.com/portainer/portainer
feat(build): clean terminal on build
parent
6a119254ad
commit
2565d4ed62
|
@ -69,6 +69,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"auto-ngtemplate-loader": "^1.3.0",
|
"auto-ngtemplate-loader": "^1.3.0",
|
||||||
"autoprefixer": "^7.1.1",
|
"autoprefixer": "^7.1.1",
|
||||||
|
"clean-terminal-webpack-plugin": "^1.1.0",
|
||||||
"css-loader": "^1.0.0",
|
"css-loader": "^1.0.0",
|
||||||
"cssnano": "^3.10.0",
|
"cssnano": "^3.10.0",
|
||||||
"eslint": "^3.19.0",
|
"eslint": "^3.19.0",
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
const WebpackBuildNotifierPlugin = require('webpack-build-notifier');
|
const WebpackBuildNotifierPlugin = require('webpack-build-notifier');
|
||||||
|
const CleanTerminalPlugin = require('clean-terminal-webpack-plugin');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: './app/__module.js',
|
entry: './app/__module.js',
|
||||||
|
@ -52,10 +53,11 @@ module.exports = {
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: './app/index.html'
|
template: './app/index.html'
|
||||||
}),
|
}),
|
||||||
new WebpackBuildNotifierPlugin({
|
new WebpackBuildNotifierPlugin({
|
||||||
title: "My Project Webpack Build",
|
title: 'My Project Webpack Build',
|
||||||
logo: path.resolve("./assets/favicon-32x32.png"),
|
logo: path.resolve('./assets/favicon-32x32.png'),
|
||||||
suppressSuccess: true
|
suppressSuccess: true
|
||||||
})
|
}),
|
||||||
|
new CleanTerminalPlugin()
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
|
@ -1214,6 +1214,11 @@ clean-css@~3.0.4:
|
||||||
commander "2.5.x"
|
commander "2.5.x"
|
||||||
source-map ">=0.1.43 <0.2"
|
source-map ">=0.1.43 <0.2"
|
||||||
|
|
||||||
|
clean-terminal-webpack-plugin@^1.1.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/clean-terminal-webpack-plugin/-/clean-terminal-webpack-plugin-1.1.0.tgz#5c345af8ae52c276d7a8076382e79df8850896a8"
|
||||||
|
integrity sha512-aobm7IUmpaZi4g7yFeSyrGne1GBUF0Bw47cSj/xaFA/l8Zm/rM529v/HJKIjMqplbvzX/hepBIY4Cq4YtyyCrw==
|
||||||
|
|
||||||
cli-cursor@^1.0.1:
|
cli-cursor@^1.0.1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987"
|
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987"
|
||||||
|
|
Loading…
Reference in New Issue