mirror of
https://github.com/bendtherules/github-delete-unused-repos.git
synced 2026-08-18 13:52:59 +00:00
Initital working browser build
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
"modules": false,
|
||||
"targets": {
|
||||
"browsers": [
|
||||
"> 1%",
|
||||
"last 2 versions",
|
||||
"not ie <= 8"
|
||||
"last 2 Chrome versions"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
// @TODO 1. Change babelrc browser support to :
|
||||
// ```
|
||||
// "browsers": [
|
||||
// "> 1%",
|
||||
// "last 2 versions",
|
||||
// "not ie <= 8"
|
||||
// ]
|
||||
// ```
|
||||
|
||||
// @TODO 2: In webpack, enable uglify
|
||||
//
|
||||
+4
-4
@@ -22,10 +22,10 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
include: /\.min\.js$/,
|
||||
minimize: true
|
||||
}) ,
|
||||
// new webpack.optimize.UglifyJsPlugin({
|
||||
// include: /\.min\.js$/,
|
||||
// minimize: true
|
||||
// }) ,
|
||||
new CopyWebpackPlugin([
|
||||
{ from: 'demo/index.html', to: 'dist/' }
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user