@mainset/bundler-webpack 0.3.6 → 0.3.7

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.
@@ -1,4 +1,4 @@
1
- import { resolveHostPackageNodeModulesPath, runtimePathById, } from '@mainset/cli/runtime';
1
+ import { runtimePathById } from '@mainset/cli/runtime';
2
2
  import CopyWebpackPlugin from 'copy-webpack-plugin';
3
3
  import fs from 'fs';
4
4
  import path from 'path';
@@ -17,9 +17,7 @@ const createPublicAssetsCopyPlugin = (outputPath) => new CopyWebpackPlugin({
17
17
  // The entry point for Global styles
18
18
  const cssGlobalStylesEntry = path.join(runtimePathById.src, 'styles', 'global.css');
19
19
  const scssGlobalStylesEntry = path.join(runtimePathById.src, 'styles', 'global.scss');
20
- const defaultEntry = [
21
- resolveHostPackageNodeModulesPath('@mainset/bundler-webpack', '@babel/polyfill'),
22
- ];
20
+ const defaultEntry = [];
23
21
  if (fs.existsSync(cssGlobalStylesEntry))
24
22
  defaultEntry.push(cssGlobalStylesEntry);
25
23
  if (fs.existsSync(scssGlobalStylesEntry))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mainset/bundler-webpack",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Bundler for web apps",
5
5
  "homepage": "https://github.com/mainset/dev-stack-fe/tree/main/packages/bundler-webpack",
6
6
  "bugs": {
@@ -28,7 +28,6 @@
28
28
  "dependencies": {
29
29
  "@babel/cli": "^8.0.4",
30
30
  "@babel/core": "^8.0.1",
31
- "@babel/polyfill": "^7.12.1",
32
31
  "@babel/preset-env": "^8.0.2",
33
32
  "@babel/preset-react": "^8.0.1",
34
33
  "@babel/preset-typescript": "^8.0.1",
@@ -50,8 +49,8 @@
50
49
  "webpack-merge": "^6.0.1"
51
50
  },
52
51
  "devDependencies": {
53
- "@mainset/cli": "^0.7.0",
54
- "@mainset/dev-stack-fe": "^0.2.2"
52
+ "@mainset/cli": "^0.7.2",
53
+ "@mainset/dev-stack-fe": "^0.2.3"
55
54
  },
56
55
  "peerDependencies": {
57
56
  "@mainset/cli": ">=0.5.0 <1.0.0",