Lines Matching refs:config
166 let config = {
251 config.plugins.push(new GenAbcPlugin(process.env.buildPath, arkDir, nodeJs, workerFile,
254 config.output.path = path.join(process.env.cachePath, "releaseAssets",
256 process.env.configOutput = config.output.path;
263 config.plugins.push(new GenBinPlugin(process.env.buildPath, path.join(__dirname, 'bin', workerFile)))
269 function existsPackageJson(config, rootPackageJsonPath, modulePackageJsonPath) {
270 if (config.cache) {
271 config.cache.buildDependencies = {
272 config: []
275 config.cache.buildDependencies.config.push(rootPackageJsonPath);
278 config.cache.buildDependencies.config.push(modulePackageJsonPath);
296 config.entry = {};
299 config.entry = loadEntryObj(process.env.projectPath, process.env.DEVICE_LEVEL,
301 existsPackageJson(config, path.resolve(process.env.projectPath, '../../../../../package.json'),
304 config.cache.cacheDirectory = path.resolve(process.env.cachePath, '.rich_cache',
306 config.output.path = path.resolve(__dirname, process.env.buildPath)
307 config.plugins = [
318 config.resolve = {
330 config.plugins.push(new CopyPlugin({
341 config.plugins.push(new CopyPlugin({
345 to: path.resolve(process.env.buildPath, 'config.json'),
352 config.module = cardModule
353 config.plugins.push(new AfterEmitPlugin())
354 config.optimization = {};
358 Object.assign(config.optimization, {
382 config.devtool = false
385 config.mode = 'production';
386 Object.assign(config.optimization, {
410 config.output.devtoolModuleFilenameTemplate = (info) => {
416 config.output.sourceMapFilename = '_releaseMap/[name].js.map'
420 config.module.rules = [];
421 config.module.rules.unshift({
428 config.module.rules.unshift({
436 config.output.library = process.env.hashProjectPath;
437 return config