heavyai-connector
heavyai-connector copied to clipboard
update webpack to latest stable version
current status when I yarn build
ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'script-loader' instead of 'script',
see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
@ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'script-loader' instead of 'script',
see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
@ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'script-loader' instead of 'script',
see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
@ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'script-loader' instead of 'script',
see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
@ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration has an unknown property 'ecmaFeatures'. These properties are valid:
object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry, externals?, loader?, module?, name?, node?, output?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, stats?, target?, watch?, watchOptions? }
For typos: please correct them.
For loader options: webpack 2 no longer allows custom properties in configuration.
Loaders should be updated to allow passing options via loader options in module.rules.
Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
plugins: [
new webpack.LoaderOptionsPlugin({
// test: /\.xxx$/, // may apply this only for some modules
options: {
ecmaFeatures: ...
}
})
]
will pause this effort for now
Tracking in https://jira.omnisci.com/browse/FE-8236
glad to see the effort to modernize the dependencies is alive 😄
⭐️ you have unlocked the necromancer badge for resurrecting a long-dead issue