quidproquo-deploy-webpack 0.0.42 → 0.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,8 +28,8 @@ export declare const getWebpackConfig: (qpqConfig: QPQConfig, buildPath: string,
28
28
  options: {
29
29
  presets: string[];
30
30
  };
31
- exclude: RegExp;
32
31
  type?: undefined;
32
+ exclude?: undefined;
33
33
  } | {
34
34
  test: RegExp;
35
35
  type: string;
@@ -25,13 +25,6 @@ const getWebpackConfig = (qpqConfig, buildPath, outputPrefix) => {
25
25
  rootDir: path_1.default.resolve(buildPath, '..'),
26
26
  });
27
27
  return {
28
- // entry: allSrcEntries.reduce(
29
- // (entry, path) => ({
30
- // ...entry,
31
- // [`./${outputPrefix}/${path}`]: `./${path}`,
32
- // }),
33
- // {},
34
- // ),
35
28
  entry: {
36
29
  lambdaAPIGatewayEvent: 'quidproquo-deploy-awscdk/src/lambdas/lambdaAPIGatewayEvent.ts',
37
30
  lambdaEventBridgeEvent: 'quidproquo-deploy-awscdk/src/lambdas/lambdaEventBridgeEvent.ts',
@@ -39,15 +32,7 @@ const getWebpackConfig = (qpqConfig, buildPath, outputPrefix) => {
39
32
  resolveLoader: {
40
33
  modules: [path_1.default.resolve(__dirname, 'loaders'), 'node_modules'],
41
34
  },
42
- // mode: getWebpackBuildMode(qpqConfig),
43
- mode: 'production',
44
- // We should: sort out how to split the bundles and get it to work on aws
45
- // optimization: {
46
- // splitChunks: {
47
- // // include all types of chunks
48
- // chunks: "all",
49
- // },
50
- // },
35
+ mode: getWebpackBuildMode(qpqConfig),
51
36
  target: 'node',
52
37
  output: {
53
38
  // Output path
@@ -72,7 +57,7 @@ const getWebpackConfig = (qpqConfig, buildPath, outputPrefix) => {
72
57
  // without additional settings, this will reference .babelrc
73
58
  presets: ['@babel/preset-typescript'],
74
59
  },
75
- exclude: /node_modules/,
60
+ // exclude: /node_modules/,
76
61
  },
77
62
  {
78
63
  test: /\.(yaml|json)$/,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quidproquo-deploy-webpack",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "description": "",
5
5
  "main": "./lib/webpack.config.js",
6
6
  "types": "./lib/webpack.config.d.js",