@wp-typia/create-workspace-template 0.12.0 → 0.13.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-typia/create-workspace-template",
3
- "version": "0.12.0",
3
+ "version": "0.13.1",
4
4
  "description": "Official empty wp-typia workspace template package",
5
5
  "packageManager": "bun@1.3.11",
6
6
  "type": "module",
@@ -231,9 +231,13 @@ function getOptionalModuleEntries() {
231
231
  }
232
232
 
233
233
  module.exports = async () => {
234
- const { default: UnpluginTypia } = await import(
235
- '@typia/unplugin/webpack'
234
+ const { loadCompatibleTypiaWebpackPlugin } = await import(
235
+ '@wp-typia/block-runtime/blocks'
236
236
  );
237
+ const UnpluginTypia = await loadCompatibleTypiaWebpackPlugin( {
238
+ importTypiaWebpackPlugin: () => import( '@typia/unplugin/webpack' ),
239
+ projectRoot: process.cwd(),
240
+ } );
237
241
  const resolvedDefaultConfig =
238
242
  typeof defaultConfig === 'function'
239
243
  ? await defaultConfig()