Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

compile error [Extract Text Plugin (Loader) Invalid Options] #187

Closed
tiodot opened this issue Jul 3, 2017 · 0 comments
Closed

compile error [Extract Text Plugin (Loader) Invalid Options] #187

tiodot opened this issue Jul 3, 2017 · 0 comments

Comments

@tiodot
Copy link

tiodot commented Jul 3, 2017

git clone the mint-ui, then compile the source

npm run dist

cooking version

1.5.2

What is Expected?

compile successfully

What is actually happening?

{ [Error: Validation Error

Extract Text Plugin (Loader) Invalid Options

options['fallbackLoader'] should NOT have additional properties
options['loader'] should NOT have additional properties
]
  err: 
   [ { keyword: 'additionalProperties',
       dataPath: '[\'fallbackLoader\']',
       schemaPath: '#/additionalProperties',
       params: [Object],
       message: 'should NOT have additional properties' },
     { keyword: 'additionalProperties',
       dataPath: '[\'loader\']',
       schemaPath: '#/additionalProperties',
       params: [Object],
       message: 'should NOT have additional properties' } ] }

cooking use fallbckLoaderoption in merge.js but the newest extract-text-webpack-plugin just support fallbackoption, and loader should be replaced by use

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

1 participant