mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
webpack - use mainFields: ['module', 'main'] for everyone
This commit is contained in:
@@ -16,10 +16,6 @@ module.exports = withDefaults({
|
||||
entry: {
|
||||
extension: './src/htmlMain.ts',
|
||||
},
|
||||
resolve: {
|
||||
mainFields: ['module', 'main'],
|
||||
extensions: ['.ts', '.js'] // support ts-files and js-files
|
||||
},
|
||||
output: {
|
||||
filename: 'htmlMain.js',
|
||||
path: path.join(__dirname, 'client', 'dist'),
|
||||
|
||||
Reference in New Issue
Block a user