Skip to content

Commit 7c23489

Browse files
update: entry point to use the needed polyfills for older browsers
1 parent 992defc commit 7c23489

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

builder/app/javascript/packs/application.js

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,13 @@
77
// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
88
// layout file, like app/views/layouts/application.html.erb
99

10-
import Vue from 'vue/dist/vue.esm'
11-
import Vuex from 'vuex'
12-
import axios from 'axios'
13-
import matestackEventHub from 'js/event-hub'
14-
import componentMixin from 'component/component'
10+
import 'core-js';
11+
import Vue from "vue/dist/vue.esm";
12+
import Vuex from "vuex";
13+
import axios from "axios";
14+
import matestackEventHub from "js/event-hub";
15+
import componentMixin from "component/component";
1516

16-
import matestackUiCore from 'js/core'
17+
import matestackUiCore from "js/core";
1718

18-
export {
19-
Vue,
20-
Vuex,
21-
axios,
22-
matestackEventHub,
23-
componentMixin
24-
}
19+
export { Vue, Vuex, axios, matestackEventHub, componentMixin };

0 commit comments

Comments
 (0)