Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Webpack Dev Evniroment

Webpack Develop Enviroment

install

yarn add babel-loader @babel/core @babel/preset-env webpack webpack-cli webpack-dev-server

run

webpack-dev-server --entry ./dev/index.js --output-filename "bundle.js" --output-public-path dist --content-base ./dev --open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.