Default to type: module (#447)

This commit is contained in:
Jaco Greeff
2021-03-02 21:43:36 +01:00
committed by GitHub
parent 100f22bcfe
commit 0eebd52577
15 changed files with 217 additions and 210 deletions
+16
View File
@@ -0,0 +1,16 @@
// Copyright 2017-2021 @polkadot/ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
const base = require('@polkadot/dev/config/babel-config-cjs.cjs');
module.exports = Object.keys(base).reduce((config, key) => {
config[key] = base[key];
if (key === 'plugins') {
config[key] = config[key].concat([
'transform-vue-template'
]);
}
return config;
}, {});