issues
search
mjayjones13
/
beans
0
stars
0
forks
source link
Use Webpack to create bundles (fixes #13)
#37
Closed
joshcox
closed
7 years ago
joshcox
commented
7 years ago
Created a Webpack configuration that pulls in JavaScript/CSS into a bundle
Added "build" (
npm run build
) script to package.json to build a one-off bundle
Added "build:dev" (
npm run build:dev
) script to package.json to spawn a watcher that will re-build the bundle as you make changes to the source files.
Refactor modules to use the
import
dependency modules instead of using global objects.
Refactored
Store
class to show off ES6 classes - take a look; it's much simpler.
Created a
Beans
class for managing App-level things
Moved the
beans.html
into the server.
npm run build
) script to package.json to build a one-off bundlenpm run build:dev
) script to package.json to spawn a watcher that will re-build the bundle as you make changes to the source files.import
dependency modules instead of using global objects.Store
class to show off ES6 classes - take a look; it's much simpler.Beans
class for managing App-level thingsbeans.html
into the server.