This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.
Barrel error with webpack (0.0.39) #315
Closed
Description
Short description of the problem:
In version 0.0.39 rollup bundler works correct, but with webpack bundler i have error in browser console: 'Error: Cannot find module "../../common/services/index/"(…)'. This file is barrel.
What behaviour are you expecting?
Correct build both with rollup or webpack without any error's in console.
Steps to reproduce:
- Create 'barrel' file in ionic project
- Run 'ionic serve' with [email protected] and webpack as bundler
- Browser started with white screen and error in console: 'Error: Cannot find module "../../common/services/index/"(…)'
Example of barrel (https://angular.io/docs/ts/latest/guide/glossary.html#!#sts=Barrel)
//common/services/index.ts
export * from './utils/color.utils';
export * from './utils/localstorage.utils';
export * from './utils/math.utils';
export * from './utils/uuid.utils';
Which @ionic/app-scripts version are you using?
0.0.39
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Dont have any ideas