Skip to content

Commit 4bf5813

Browse files
committed
💄
1 parent 01365db commit 4bf5813

1 file changed

Lines changed: 0 additions & 53 deletions

File tree

extensions/shared.webpack.config.js

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -58,56 +58,3 @@ module.exports = function withDefaults(extConfig) {
5858

5959
return merge(defaultConfig, extConfig);
6060
}
61-
62-
// /**
63-
// * Function that must be invoked with __dirname and that
64-
// * returns a good default configuation for extensions that
65-
// * want to do webpack
66-
// */
67-
// module.exports = function (extensionDir) {
68-
// return {
69-
// context: extensionDir,
70-
// mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production')
71-
// target: 'node', // extensions run in a node context
72-
// resolve: {
73-
// mainFields: ['main'], // prefer the main-entry of package.json files
74-
// extensions: ['.ts', '.js'] // support ts-files and js-files
75-
// },
76-
// module: {
77-
// rules: [{
78-
// test: /\.ts$/,
79-
// exclude: /node_modules/,
80-
// use: [{
81-
// // vscode-nls-dev loader:
82-
// // * rewrite nls-calls
83-
// loader: 'vscode-nls-dev/lib/webpack-loader'
84-
// }, {
85-
// // configure TypeScript loader:
86-
// // * only transpile because we have a separate compilation pipeline
87-
// // * enable sources maps for end-to-end source maps
88-
// loader: 'ts-loader',
89-
// options: {
90-
// transpileOnly: true,
91-
// compilerOptions: {
92-
// "sourceMap": true,
93-
// }
94-
// }
95-
// }]
96-
// }]
97-
// },
98-
// plugins: [
99-
// new CopyWebpackPlugin([
100-
// { from: './out/nls.*.json', to: '[name].json' }
101-
// ])
102-
// ],
103-
// output: {
104-
// // all output goes into `dist`.
105-
// // packaging depends on that and this must always be like it
106-
// filename: '[name].js',
107-
// path: path.join(extensionDir, 'dist'),
108-
// libraryTarget: "commonjs",
109-
// },
110-
// // yes, really source maps
111-
// devtool: 'source-map'
112-
// };
113-
// };

0 commit comments

Comments
 (0)