chore: remove friendly-errors-webpack-plugin

This commit is contained in:
chenjiahan
2021-04-14 09:35:08 +08:00
committed by neverland
parent 0e80000339
commit e38c5d27e0
9 changed files with 26 additions and 76 deletions
@@ -2,7 +2,7 @@ import { join } from 'path';
import { existsSync } from 'fs-extra';
import { smartOutputFile, normalizePath } from '../common';
import { CSS_LANG, getCssBaseFile } from '../common/css';
import { SRC_DIR, STYPE_DEPS_JSON_FILE } from '../common/constant';
import { SRC_DIR, STYLE_DEPS_JSON_FILE } from '../common/constant';
type Options = {
outputPath: string;
@@ -10,7 +10,7 @@ type Options = {
};
export function genPackageStyle(options: Options) {
const styleDepsJson = require(STYPE_DEPS_JSON_FILE);
const styleDepsJson = require(STYLE_DEPS_JSON_FILE);
const ext = '.' + CSS_LANG;
let content = '';