Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
feat: add EntryDependency in compiled webpack (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCindy authored Sep 28, 2022
1 parent 181bb0b commit ede382d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/bundles/webpack/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
FetchCompileWasmPlugin: require('webpack/lib/web/FetchCompileWasmPlugin'),
StringXor: require('webpack/lib/util/StringXor'),
NormalModule: require('webpack/lib/NormalModule'),
EntryDependency: require('webpack/lib/dependencies/EntryDependency'),
sources: require('webpack').sources,
webpack: require('webpack'),
package: {
Expand Down
1 change: 1 addition & 0 deletions packages/bundles/webpack/packages/EntryDependency.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./bundle').EntryDependency;
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import fs from 'fs-extra';
import { minify } from 'html-minifier';
import loaderUtils from '@ice/bundles/compiled/loader-utils/index.js';
import webpack from '@ice/bundles/compiled/webpack/index.js';
import EntryDependency from 'webpack/lib/dependencies/EntryDependency.js';
import EntryDependency from '@ice/bundles/compiled/webpack/EntryDependency.js';

import SingleEntryDependency from '../dependencies/SingleEntryDependency.js';
import { componentConfig } from '../template/component.js';
Expand Down

1 comment on commit ede382d

@vercel
Copy link

@vercel vercel bot commented on ede382d Sep 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ice-v3 – ./

ice-v3-ice-v3.vercel.app
ice-v3.vercel.app
ice-v3-git-release-next-ice-v3.vercel.app

Please sign in to comment.