小编Pil*_*lpo的帖子

Angular Storybook - WebpackOptionsValidationError:Webpack 已使用与 API 架构不匹配的配置对象进行初始化

我已将 Angular 从 更新为1112,并将我的 中的所有软件包更新为最新版本package.json

    {
      "name": "poc-architecture-angular",
      "version": "0.0.0",
      "scripts": {
        "ng": "ng",
        "start": "ng serve --host 0.0.0.0  --port 4200",
        "build": "NODE_ENV=production ng build --prod",
        "build:dev": "NODE_ENV=production ng build --source-map=true --prod",
        "build:local": "ng build --watch --output-path /usr/share/nginx/html && tar -zcvf archive.tar.gz dist/prod/*",
        "test": "ng test",
        "test:coverage": "ng test --no-watch --code-coverage --browsers ChromeHeadlessNoSandbox",
        "lint": "ng lint",
        "e2e": "ng e2e",
        "stylelint": "stylelint --fix \"src/**/*.scss\" --config .stylelintrc.json",
        "stylelint:diff": "stylelint \"src/**/*scss\" --config .stylelintrc.json",
        "format": "prettier --write \"src/app/**/*.{ts,html,scss}\"", …
Run Code Online (Sandbox Code Playgroud)

angular storybook angular-storybook

13
推荐指数
1
解决办法
1万
查看次数

标签 统计

angular ×1

angular-storybook ×1

storybook ×1