mirror of https://github.com/nextcloud/contacts
Update babel.config.js
This commit is contained in:
parent
4373f156c5
commit
e3f87422b6
4
Makefile
4
Makefile
|
@ -75,9 +75,7 @@ stylelint-fix:
|
|||
|
||||
# Cleaning
|
||||
clean:
|
||||
rm -f js/contacts.js
|
||||
rm -f js/contacts.js.map
|
||||
rm -Rf js/chunks
|
||||
rm -rf js
|
||||
|
||||
clean-dev:
|
||||
rm -rf node_modules
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
module.exports = {
|
||||
plugins: [
|
||||
'@babel/plugin-syntax-dynamic-import',
|
||||
'@babel/plugin-proposal-object-rest-spread'
|
||||
],
|
||||
presets: ['@babel/preset-env']
|
||||
presets: [
|
||||
[
|
||||
'@babel/preset-env',
|
||||
{
|
||||
corejs: 3,
|
||||
useBuiltIns: 'entry',
|
||||
},
|
||||
],
|
||||
],
|
||||
}
|
||||
|
|
10
src/main.js
10
src/main.js
|
@ -20,16 +20,14 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
import 'core-js/stable'
|
||||
|
||||
import { generateFilePath } from '@nextcloud/router'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
import { sync } from 'vuex-router-sync'
|
||||
import Vue from 'vue'
|
||||
|
||||
import App from './ContactsRoot'
|
||||
import router from './router'
|
||||
import store from './store'
|
||||
import { sync } from 'vuex-router-sync'
|
||||
import { generateFilePath } from '@nextcloud/router'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
|
||||
/** GLOBAL COMPONENTS AND DIRECTIVE */
|
||||
import ClickOutside from 'vue-click-outside'
|
||||
|
|
Loading…
Reference in New Issue