Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
?- configuration.module has an unknown property 'loaders'. These properties are valid:
? ?object { defaultRules?, exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, noParse?, rules?, strictExportPresence?, strictThisContextOnImports?, unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp? }
? ?-> Options affecting the normal modules (`NormalModuleFactory`).
總是提示這個(gè),解決不掉,是什么錯(cuò),能否幫忙看看
2018-12-05
你的版本過高吧,這個(gè)得用rules