Open MrEfrem opened 4 years ago
If I set in the webpack config mode: none
or mode: development
I can compile sources but I still see those messages as ERROR
(not as WARNING
).
And I tried with and without pnpMode: loose
. Results are the same. I.e. this option doesn't change anything.
@arcanis KnexJs
contains the same packages in both sections: peerDependencies
(https://github.com/knex/knex/blob/master/package.json#L51) and peerDependenciesMeta
(https://github.com/knex/knex/blob/master/package.json#L58).
"peerDependencies": {
"mssql": "^6.2.0",
"mysql": "^2.18.1",
"mysql2": "^2.1.0",
"pg": "^8.0.3",
"sqlite3": "^4.1.1"
},
"peerDependenciesMeta": {
"mssql": {
"optional": true
},
"mysql": {
"optional": true
},
"mysql2": {
"optional": true
},
"pg": {
"optional": true
},
"sqlite3": {
"optional": true
}
}
Can it be the reason of so errors?
.yarnrc.yml
containspnpMode: loose
. I checkedWebpack@4
with this plugin. Moreover, I checkedwebpack@next
without it. In both cases I saw the same errors:The webpack config:
But if I do transpilation via
yarn babel src -d <directory>
I don't see these errors. I checked with the latest version from sources (yarn set version from sources
).