mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 14:38:50 +00:00
fix(webpack): fixed resolving .js extension when building
- also removed eslint
This commit is contained in:
6 files changed
+56
-24
No files matched your search
+1
-3
@@ -1,5 +1,4 @@
|
||||
const path = require('path');
|
||||
const ESLintPlugin = require('eslint-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
mode: "production",
|
||||
@@ -16,11 +15,10 @@ module.exports = {
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.ts'],
|
||||
extensions: ['.ts', '.js'],
|
||||
},
|
||||
output: {
|
||||
filename: 'oxmysql.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
plugins: [new ESLintPlugin()],
|
||||
};
|
||||
Reference in new issue
Block a user