Unverified Commit 1f39d41b authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix missing webpack buildin (#7187)

parent c826048a
......@@ -67,6 +67,16 @@ export async function ncc_webpack_module (task, opts) {
notify('Compiled webpack/buildin/module')
}
// eslint-disable-next-line camelcase
export async function ncc_webpack_harmony_module (task, opts) {
await task
.source(opts.src || relative(__dirname, require.resolve('webpack/buildin/harmony-module')))
.ncc()
.target('dist/compiled/webpack/buildin')
notify('Compiled webpack/buildin/harmony-module')
}
// eslint-disable-next-line camelcase
export async function ncc_webpack_graph_helpers (task, opts) {
await task
......@@ -157,7 +167,7 @@ export async function ncc_text_table (task, opts) {
}
export async function precompile (task) {
await task.parallel(['ncc_webpack', 'ncc_webpack_module', 'ncc_webpack_graph_helpers', 'ncc_webpack_hot_middleware', 'ncc_autodll_webpack_plugin', 'ncc_webpack_dev_middleware', 'ncc_unistore', 'ncc_resolve', 'ncc_arg', 'ncc_nanoid', 'ncc_text_table'])
await task.parallel(['ncc_webpack', 'ncc_webpack_module', 'ncc_webpack_harmony_module', 'ncc_webpack_graph_helpers', 'ncc_webpack_hot_middleware', 'ncc_autodll_webpack_plugin', 'ncc_webpack_dev_middleware', 'ncc_unistore', 'ncc_resolve', 'ncc_arg', 'ncc_nanoid', 'ncc_text_table'])
}
export async function compile (task) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment