chemicaltools
Advanced tools
Comparing version 1.2.17 to 1.2.18
{ | ||
"name": "chemicaltools", | ||
"version": "1.2.17", | ||
"version": "1.2.18", | ||
"description": "Chemical Tools for Chemistry students.", | ||
@@ -9,3 +9,3 @@ "main": "src/index.js", | ||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"build": "webpack -p --progress && bundlesize" | ||
"build": "webpack --mode=production --progress && bundlesize" | ||
}, | ||
@@ -39,13 +39,13 @@ "bundlesize": [ | ||
"@semantic-release/git": "9.0.0", | ||
"@webpack-cli/init": "0.3.0", | ||
"@webpack-cli/init": "1.0.1", | ||
"babel-loader": "8.1.0", | ||
"babel-plugin-syntax-dynamic-import": "6.18.0", | ||
"bundlesize": "0.18.0", | ||
"codecov": "3.7.2", | ||
"codecov": "3.8.0", | ||
"mocha": "8.1.3", | ||
"nyc": "15.1.0", | ||
"semantic-release": "17.1.1", | ||
"uglifyjs-webpack-plugin": "2.2.0", | ||
"webpack": "4.44.1", | ||
"webpack-cli": "3.3.12" | ||
"semantic-release": "17.1.2", | ||
"terser-webpack-plugin": "^4.2.3", | ||
"webpack": "4.44.2", | ||
"webpack-cli": "4.0.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "release": { |
@@ -10,3 +10,2 @@ # chemicaltools-js | ||
[![Dependency Status](https://david-dm.org/njzjz/chemicaltools-js.svg)](https://david-dm.org/njzjz/chemicaltools-js) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/njzjz/chemicaltools-js.svg)](https://greenkeeper.io/) | ||
[![Downloads](https://img.shields.io/npm/dm/chemicaltools.svg)](https://npmjs.com/package/chemicaltools) | ||
@@ -13,0 +12,0 @@ [![jsdelivr](https://data.jsdelivr.com/v1/package/npm/chemicaltools/badge?style=rounded)](https://www.jsdelivr.com/package/npm/chemicaltools) |
@@ -1,2 +0,3 @@ | ||
const path = require('path') | ||
const path = require('path'); | ||
const TerserPlugin = require('terser-webpack-plugin'); | ||
@@ -16,10 +17,2 @@ /* | ||
/* | ||
* We've enabled UglifyJSPlugin for you! This minifies your app | ||
* in order to load faster and run less javascript. | ||
* | ||
* https://github.com/webpack-contrib/uglifyjs-webpack-plugin | ||
* | ||
*/ | ||
module.exports = { | ||
@@ -54,2 +47,4 @@ module: { | ||
optimization: { | ||
minimize: true, | ||
minimizer: [new TerserPlugin()], | ||
splitChunks: { | ||
@@ -56,0 +51,0 @@ cacheGroups: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
71882
1423
56