Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
remove redudant code and move slotfill
Browse files Browse the repository at this point in the history
  • Loading branch information
senadir committed Jan 7, 2021
1 parent 30c0216 commit 1327136
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 43 deletions.
39 changes: 0 additions & 39 deletions assets/js/checkout/error-boundary/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions assets/js/checkout/index.js

This file was deleted.

10 changes: 10 additions & 0 deletions bin/webpack-configs.js
Expand Up @@ -50,6 +50,15 @@ const getProgressBarPluginConfig = ( name, fileSuffix ) => {
};

const getCoreConfig = ( options = {} ) => {
const { alias, resolvePlugins = [] } = options;
const resolve = alias
? {
alias,
plugins: resolvePlugins,
}
: {
plugins: resolvePlugins,
};
return {
entry: getEntryConfig( 'core', options.exclude || [] ),
output: {
Expand Down Expand Up @@ -113,6 +122,7 @@ const getCoreConfig = ( options = {} ) => {
}`,
} ),
],
resolve,
};
};

Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/index.js
@@ -1,3 +1,3 @@
export * from './totals';

export { default as ExperimentalOrderMeta } from './order-meta';
export { SlotFillProvider } from 'wordpress-components';

0 comments on commit 1327136

Please sign in to comment.