Commit graph

7 commits

Author SHA1 Message Date
Geng Shenghong
6fc4832f97 replace 'got' with 'nets' and fix the 'web+commonjs2' and 'node+commonjs2' targets in webpack.config.js 2017-09-08 15:08:26 +08:00
Christopher Willis-Ford
6d9b746597 Standardize repository settings
Set dev tool to `cheap-module-source-map`.
2017-04-11 11:38:42 -04:00
Christopher Willis-Ford
0bb5f2f30f Upgrade to Webpack 2 2017-02-03 12:40:44 -08:00
Christopher Willis-Ford
2b28f27049 Add tests, fix problems found by those tests
Changes include:
- Use `bin-loader` instead of `arraybuffer-loader` since the latter is
  only compatible with browsers, not with Node itself.
- Use `got` instead of `xhr` since `xhr` only works in browsers and
  `got` is nicer anyway.
- Add `json-loader` to Webpack config since `got` requires it.
- Use lower-case values in `DataFormat` to match canonical file names.
- Update `ScratchStorage.addWebSource` to match `WebHelper`'s new API.
- Fix an error in the web helper which was causing an infinite loop on
  error.
2016-12-08 16:45:56 -08:00
Christopher Willis-Ford
5401c5e17f Configuration updates
Update eslint-config-scratch to 3.1.0
Explicitly specify target for Webpack outputs
2016-12-06 16:23:11 -08:00
Christopher Willis-Ford
e6ba286530 First-pass implementation of the load API
This implementation is untested and not complete, but should be
sufficient for discussion.
2016-11-08 16:08:55 -08:00
Christopher Willis-Ford
8184fb9b14 Initial structure 2016-10-21 18:27:47 -07:00