housekeeping: @kyleshockey/js-yaml -> js-yaml (via #5511)

* `@kyleshockey/js-yaml` -> `js-yaml`

* externalize `esprima`
This commit is contained in:
kyle
2019-07-31 14:45:18 -07:00
committed by GitHub
parent 97260cf0e2
commit 2af696dcc1
5 changed files with 18 additions and 12 deletions

View File

@@ -96,6 +96,7 @@ export default function buildConfig(
? {
// json-react-schema/deeper depends on buffertools, which fails.
buffertools: true,
esprima: true,
}
: (context, request, cb) => {
// webpack injects some stuff into the resulting file,
@@ -114,9 +115,6 @@ export default function buildConfig(
resolve: {
modules: [path.join(projectBasePath, "./src"), "node_modules"],
extensions: [".web.js", ".js", ".jsx", ".json", ".less"],
alias: {
"js-yaml": "@kyleshockey/js-yaml", // TODO: fix??
},
},
// If we're mangling, size is a concern -- so use trace-only sourcemaps