Yang Zhou

Results 2 comments of Yang Zhou

well , I write a wepack plugin to transform async to es5 ```javascript class BabelTransformAsyncPlugin { apply(compiler) { compiler.hooks.compilation.tap( "BabelTransformAsyncPlugin", (compilation) => { compilation.hooks.optimizeChunkAssets.tapAsync( "BabelTransformAsyncPlugin", (chunks, done) => { chunks.forEach(function(chunk)...