Last active
December 16, 2018 20:02
-
-
Save victors1681/9f2f6ef2374bed0014c3b8964c40867d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require("path"); | |
module.exports = env => { | |
const config = { | |
mode: env.NODE_ENV === "development" ? "development" : "production", | |
entry: { | |
app: [path.resolve(__dirname, "./src/index.js")] | |
} | |
}; | |
return config; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment