|
|
@ -6,6 +6,7 @@ const webpack = require('webpack'); |
|
|
|
const loaderUtils = require('loader-utils'); |
|
|
|
const loaderUtils = require('loader-utils'); |
|
|
|
const SingleEntryPlugin = require('webpack/lib/SingleEntryPlugin'); |
|
|
|
const SingleEntryPlugin = require('webpack/lib/SingleEntryPlugin'); |
|
|
|
const { WorkerLoaderName, FileNamePrefix } = require('./constants'); |
|
|
|
const { WorkerLoaderName, FileNamePrefix } = require('./constants'); |
|
|
|
|
|
|
|
const { resolve } = require('path'); |
|
|
|
|
|
|
|
|
|
|
|
// 正常 loader 处理逻辑
|
|
|
|
// 正常 loader 处理逻辑
|
|
|
|
function loader() { |
|
|
|
function loader() { |
|
|
|