Created
April 11, 2017 22:49
-
-
Save jschr/259ee82afaf8e17b0943ce001dc6bda9 to your computer and use it in GitHub Desktop.
webpack tip #2
This file contains hidden or 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
webpack-dev-server --env.FOO bar |
This file contains hidden or 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
export default function({ FOO }) { | |
console.log(FOO) // bar | |
return { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment