mirror of
https://github.com/minio/minio.git
synced 2025-11-12 14:51:36 -05:00
Browser: Use babel-polyfill to support new ES6 built-ins in older browsers (#3900)
This commit is contained in:
@@ -22,6 +22,7 @@ var purify = require("purifycss-webpack-plugin")
|
||||
var exports = {
|
||||
context: __dirname,
|
||||
entry: [
|
||||
"babel-polyfill",
|
||||
path.resolve(__dirname, 'app/index.js')
|
||||
],
|
||||
output: {
|
||||
@@ -100,6 +101,7 @@ var exports = {
|
||||
|
||||
if (process.env.NODE_ENV === 'dev') {
|
||||
exports.entry = [
|
||||
"babel-polyfill",
|
||||
'webpack/hot/dev-server',
|
||||
'webpack-dev-server/client?http://localhost:8080',
|
||||
path.resolve(__dirname, 'app/index.js')
|
||||
|
||||
Reference in New Issue
Block a user