Commit Graph

66 Commits

Author SHA1 Message Date
Steven Evans
9b5b997b6d [chore] Introducing SCSS, renaming existing files.
Not utilizing any functionality yet, just setting up for refactorings.
2018-07-17 11:55:04 -04:00
Steven Evans
3faed7caf2 [refactor, chore] "Compile" CSS via Webpack
This may seem unnecessary (and odd to import CSS files into JS...), but
this sets up the project for being able to keep the distributed
(release) resources all together, as well as setting the stage for
introducing something like SCSS.
2018-07-16 23:22:24 -04:00
Steven Evans
a82ed16c34 [chore, doc] Split out the "vendor"/3rd party code to its own bundle
Included 'vendor.bundle.js' as it is referenced. So this will give a
baseline to compare against future builds. But ideally this will only
change when updating dependency versions.
2018-07-09 12:50:57 -04:00
Steven Evans
16c8d6f38c [chore] Minimize bundle for production builds.
Although the files are GZIP'd when served up, this cuts their raw size to
under half.
2018-07-09 12:50:57 -04:00
Steven Evans
0e2cb9b189 [chore] Enabled Webpack "usedExports" optimization 2018-07-09 12:50:57 -04:00
Steven Evans
7b0b0de8ea [chore] Enabling Webpack 'providedExports' optimization 2018-07-09 12:50:56 -04:00
Steven Evans
3e1ec388e0 [chore] Introduce TypeScript; Tested out with HelpText. 2018-06-13 23:38:35 -04:00
danielyxie
d6620da22e Removed import of DevModeEnabled in engine.js. Removed JSON.stringify in webpack.config.js for build mode 2018-06-13 14:26:15 -05:00
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
danielyxie
bbb5f04c87 Merged pull requests and fixed merge conflicts 2018-06-08 11:19:22 -05:00
danielyxie
5e38355152 Added Bladeburner API (untested). Rebalanced Bladeburner. Bladeburner progress no longer resets when installing Augmentations. Fixed up BN-12 2018-06-08 10:51:48 -05:00
Steven Evans
f154cfb54a [chore] Fixing sourcemaps so they actually point to the correct sources 2018-06-07 15:59:54 -04:00
James Aguilar
96a8e084e9 Make the devserver serve from the proper location. 2018-05-04 23:36:39 -04:00
James Aguilar
3fe254494e Add tests for NetscriptJS 2018-05-04 23:29:22 -04:00
Steven Evans
3ad6cfd8bb Can successfully run Webpack to create dist/bundle.js
The bundled output is noticeably different; likely due to Webpack 4
vs. 2/3. The order of dependencies also appears to have changed.
The overall output *seems* to be the same. Unsure how to full test
that everything is getting bundled appropriately.

This also allows the project to be built without having to manually
copy files into node_modules.
2018-03-21 11:56:30 -04:00
danielyxie
779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00