Skip to content

TagSpaces is an offline, open source, document manager with tagging support

removing babili

Ilian Sapundshiev13706148d35b
diff --git a/package.json b/package.json
index 8d258945a..3f3827dad 100644
--- a/package.json
+++ b/package.json
@@ -109,7 +109,6 @@
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
- "babili-webpack-plugin": "^0.1.1",
"bundle-loader": "^0.5.6",
"chalk": "^1.1.3",
"concat-licenses": "^1.0.1",
diff --git a/webpack.config.main.prod.js b/webpack.config.main.prod.js
index 53b347273..f8c5571f4 100644
--- a/webpack.config.main.prod.js
+++ b/webpack.config.main.prod.js
@@ -4,7 +4,6 @@
import webpack from 'webpack';
import merge from 'webpack-merge';
-import BabiliPlugin from 'babili-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
@@ -22,11 +21,6 @@ export default merge.smart(baseConfig, {
},
plugins: [
- /**
- * Babli is an ES6+ aware minifier based on the Babel toolchain (beta)
- */
- new BabiliPlugin(),
-
new BundleAnalyzerPlugin({
analyzerMode: process.env.OPEN_ANALYZER === 'true' ? 'server' : 'disabled',
openAnalyzer: process.env.OPEN_ANALYZER === 'true'
diff --git a/webpack.config.renderer.cordova.js b/webpack.config.renderer.cordova.js
index 93688f096..ddf2ac7a3 100644
--- a/webpack.config.renderer.cordova.js
+++ b/webpack.config.renderer.cordova.js
@@ -6,11 +6,10 @@ import path from 'path';
import webpack from 'webpack';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import merge from 'webpack-merge';
-import BabiliPlugin from 'babili-webpack-plugin';
import baseConfig from './webpack.config.base';
export default merge.smart(baseConfig, {
- // devtool: 'source-map',
+ devtool: 'source-map',
target: 'web',
@@ -125,11 +124,6 @@ export default merge.smart(baseConfig, {
new webpack.IgnorePlugin(/electron-io/),
- /**
- * Babli is an ES6+ aware minifier based on the Babel toolchain (beta)
- */
- new BabiliPlugin(),
-
new ExtractTextPlugin('style.css'),
],
diff --git a/webpack.config.renderer.prod.js b/webpack.config.renderer.prod.js
index d64f73611..cf31f834a 100644
--- a/webpack.config.renderer.prod.js
+++ b/webpack.config.renderer.prod.js
@@ -7,11 +7,10 @@ import webpack from 'webpack';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import merge from 'webpack-merge';
-import BabiliPlugin from 'babili-webpack-plugin';
import baseConfig from './webpack.config.base';
export default merge.smart(baseConfig, {
- // devtool: 'source-map',
+ devtool: 'source-map',
target: 'electron-renderer',
@@ -136,11 +135,6 @@ export default merge.smart(baseConfig, {
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production')
}),
- /**
- * Babli is an ES6+ aware minifier based on the Babel toolchain (beta)
- */
- new BabiliPlugin(),
-
new ExtractTextPlugin('style.css'),
new BundleAnalyzerPlugin({
diff --git a/webpack.config.worker.prod.js b/webpack.config.worker.prod.js
index 15ab092f2..0d0ae0447 100644
--- a/webpack.config.worker.prod.js
+++ b/webpack.config.worker.prod.js
@@ -7,7 +7,6 @@ import webpack from 'webpack';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import merge from 'webpack-merge';
-import BabiliPlugin from 'babili-webpack-plugin';
import baseConfig from './webpack.config.base';
export default merge.smart(baseConfig, {
@@ -41,11 +40,6 @@ export default merge.smart(baseConfig, {
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production')
}),
- /**
- * Babli is an ES6+ aware minifier based on the Babel toolchain (beta)
- */
- new BabiliPlugin(),
-
new ExtractTextPlugin('style.css'),
new BundleAnalyzerPlugin({