mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
ui build
This commit is contained in:
1 parent
9c45527522
commit
7dc31d02fa
15 files changed
+10521
-3
No files matched your search
@@ -0,0 +1,16 @@
|
||||
/* eslint-disable */
|
||||
export default class DummyOutputPlugin {
|
||||
constructor(file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
apply(compiler) {
|
||||
compiler.plugin('emit', (compilation, callback) => {
|
||||
compilation.assets[this.file] = {
|
||||
source: () => '',
|
||||
size: () => 0,
|
||||
};
|
||||
callback();
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user