UNPKG

chunk-filename-replace-webpack-plugin

Version:

ChunkFilename for Webpack4, and dynamically imported chunk names (paths)

7 lines (6 loc) 182 B
import './style.css'; import './style1.css'; import(/*webpackChunkName: 'zhengxi' */'./dingzhengxi').then(({default: _}) => { console.log(_.name); }) console.log('hello world');