Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

[v1.0.0-beta3] ValidationError (schema) #140

Closed
vincent-cm opened this issue Oct 10, 2017 · 3 comments
Closed

[v1.0.0-beta3] ValidationError (schema) #140

vincent-cm opened this issue Oct 10, 2017 · 3 comments

Comments

@vincent-cm
Copy link

vincent-cm commented Oct 10, 2017

node_modules/schema-utils/dist/validateOptions.js:40

throw new _ValidationError2.default(ajv.errors, name);
^
@michael-ciniawsky
Copy link
Member

Please post your webpack.config.js (the plugins section with UglifyJSPlugin)

@michael-ciniawsky michael-ciniawsky changed the title AoT build error: node_modules/schema-utils/dist/validateOptions.js:40 throw new _ValidationError2.default(ajv.errors, name); ^ false [v1.0.0-beta3] ValidationError (schema) Oct 10, 2017
@vincent-cm
Copy link
Author

@michael-ciniawsky

new UglifyJsPlugin({
        parallel: true,
        uglifyOptions: {
          ie8: false,
          ecma: 6,
          warnings: true,
          mangle: true, // debug false
          output: {
            comments: false,
            beautify: false,  // debug true
          }
        },
        warnings: true,
      }),

@michael-ciniawsky
Copy link
Member

new UglifyJsPlugin({
        parallel: true,
        uglifyOptions: {
          ie8: false,
          ecma: 6,
          warnings: true,
          mangle: true, // debug false
          output: {
            comments: false,
            beautify: false,  // debug true
          }
        },
-       warnings: true,
      }),

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants