A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/chartjs/chartjs-plugin-deferred/commit/75be707e03c1114474d43bba6abf9dc2dca599ec below:

Generate the ES module · chartjs/chartjs-plugin-deferred@75be707 · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+20

-2

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+20

-2

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

@@ -24,6 +24,7 @@ deploy:

24 24

file:

25 25

- "./dist/chartjs-plugin-deferred.js"

26 26

- "./dist/chartjs-plugin-deferred.min.js"

27 +

- "./dist/chartjs-plugin-deferred.esm.js"

27 28

- "./dist/chartjs-plugin-deferred.tgz"

28 29

- "./dist/chartjs-plugin-deferred.zip"

29 30

skip_cleanup: true

Original file line number Diff line number Diff line change

@@ -37,4 +37,6 @@ You can download the latest version of `chartjs-plugin-deferred` from the [GitHu

37 37 38 38

- `chartjs-plugin-deferred.js` (recommended for development)

39 39

- `chartjs-plugin-deferred.min.js` (recommended for production)

40 -

- `chartjs-plugin-deferred.zip` (contains `.js` and `.min.js` versions + samples)

40 +

- `chartjs-plugin-deferred.esm.js`

41 +

- `chartjs-plugin-deferred.tgz` (contains all builds)

42 +

- `chartjs-plugin-deferred.zip` (contains all builds)

Original file line number Diff line number Diff line change

@@ -5,6 +5,7 @@

5 5

"version": "1.0.2",

6 6

"license": "MIT",

7 7

"main": "dist/chartjs-plugin-deferred.js",

8 +

"module": "dist/chartjs-plugin-deferred.esm.js",

8 9

"repository": {

9 10

"type": "git",

10 11

"url": "https://github.com/chartjs/chartjs-plugin-deferred.git"

Original file line number Diff line number Diff line change

@@ -40,5 +40,18 @@ module.exports = [

40 40

'chart.js',

41 41

'chart.js/helpers'

42 42

]

43 -

}

43 +

},

44 +

{

45 +

input: 'src/plugin.js',

46 +

output: {

47 +

file: pkg.module,

48 +

banner: banner,

49 +

format: 'esm',

50 +

indent: false

51 +

},

52 +

external: [

53 +

'chart.js',

54 +

'chart.js/helpers',

55 +

]

56 +

},

44 57

];

Original file line number Diff line number Diff line change

@@ -9,6 +9,7 @@ const root = path.resolve(__dirname, '..');

9 9

const inputs = [

10 10

path.join(root, 'dist', `${pkg.name}.js`),

11 11

path.join(root, 'dist', `${pkg.name}.min.js`),

12 +

path.join(root, 'dist', `${pkg.name}.esm.js`),

12 13

path.join(root, 'LICENSE.md'),

13 14

path.join(root, 'README.md'),

14 15

];

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