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,
|
"modules": false,
|
||||||
"targets": {
|
"targets": {
|
||||||
"browsers": [
|
"browsers": [
|
||||||
"> 1%",
|
"last 2 Chrome versions"
|
||||||
"last 2 versions",
|
|
||||||
"not ie <= 8"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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: [
|
plugins: [
|
||||||
new webpack.optimize.UglifyJsPlugin({
|
// new webpack.optimize.UglifyJsPlugin({
|
||||||
include: /\.min\.js$/,
|
// include: /\.min\.js$/,
|
||||||
minimize: true
|
// minimize: true
|
||||||
}) ,
|
// }) ,
|
||||||
new CopyWebpackPlugin([
|
new CopyWebpackPlugin([
|
||||||
{ from: 'demo/index.html', to: 'dist/' }
|
{ from: 'demo/index.html', to: 'dist/' }
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user