We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ce1b6 commit 8aba04bCopy full SHA for 8aba04b
webpack.common.js
@@ -1,14 +1,8 @@
1
-// @ts-check
2
-
3
const path = require('node:path');
4
const webpack = require('webpack');
5
6
/**
7
- * @typedef {import('webpack').Configuration} WebpackConfig
8
- */
9
10
-/**
11
- * @type {WebpackConfig}
+ * @type {webpack.Configuration}
12
*/
13
const config = {
14
mode: 'development',
webpack.prod.js
@@ -1,14 +1,9 @@
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
+const webpack = require('webpack');
const config = merge(common, {
mode: 'production',
0 commit comments