Skip to content

Commit 02c7192

Browse files
committed
prepare js polyfills
#238 (comment)
1 parent 92a7a30 commit 02c7192

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
require('../matestack-ui-core/index')
2-
module.exports = MatestackUiCore
1+
// // Add polyfills for the asset pipeline
2+
// // https://github.com/matestack/matestack-ui-core/issues/238#issuecomment-583905838
3+
//
4+
// import 'core-js/stable'
5+
// import 'regenerator-runtime/runtime'
6+
7+
import '../matestack-ui-core/index'
8+
export default MatestackUiCore

builder/config/webpacker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ default: &default
1111

1212
# Additional paths webpack should lookup modules
1313
# ['app/assets', 'engine/foo/app/assets']
14-
resolved_paths: []
14+
resolved_paths: ['./node_modules']
1515

1616
# Reload manifest.json on all requests so we reload latest compiled packs
1717
cache_manifest: false

0 commit comments

Comments
 (0)