A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Hopding/fontkit/commit/70049f8f038145cc0caca83c75e0b76f49d11f52 below:

Update to babel 7 · Hopding/fontkit@70049f8 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+16

-6

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+16

-6

lines changed Original file line number Diff line number Diff line change

@@ -1,5 +1,5 @@

1 1

{

2 -

"presets": ["es2015"],

2 +

"presets": ["env"],

3 3

"plugins": ["transform-decorators-legacy", "transform-class-properties", "transform-runtime"],

4 4

"env": {

5 5

"cover": {

Original file line number Diff line number Diff line change

@@ -5,3 +5,4 @@ coverage/

5 5

coverage.html

6 6

*.js.map

7 7

.nyc_output

8 +

yarn-error.log

Original file line number Diff line number Diff line change

@@ -3,15 +3,24 @@ import localResolve from 'rollup-plugin-local-resolve';

3 3

import json from 'rollup-plugin-json';

4 4 5 5

export default {

6 -

format: 'cjs',

6 +

input: 'src/index.js',

7 +

output: {

8 +

name: 'fontkit',

9 +

format: 'umd',

10 +

},

7 11

plugins: [

8 12

localResolve(),

9 13

json(),

10 14

babel({

11 15

babelrc: false,

12 -

presets: [['es2015', { modules: false, loose: true }]],

13 -

plugins: ['transform-decorators-legacy', 'transform-class-properties', 'transform-runtime'],

16 +

presets: [

17 +

['@babel/preset-env', { modules: false, loose: true }]

18 +

],

19 +

plugins: [

20 +

['@babel/plugin-proposal-decorators', { legacy: true }],

21 +

['@babel/plugin-proposal-class-properties']

22 +

],

14 23

runtimeHelpers: true

15 -

})

16 -

]

24 +

}),

25 +

],

17 26

};

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4