Skip to content

Commit

Permalink
change UMD name to StimulusFlatpickr (#64)
Browse files Browse the repository at this point in the history
* change UMD name to StimulusFlatpickr

* fix typo
  • Loading branch information
adrienpoly authored Nov 24, 2020
1 parent 1ed3e42 commit d5ce5cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"umd:main": "dist/index.umd.js",
"module": "dist/index.m.js",
"source": "src/index.js",
"amdName": "StimulusFlatpickr",
"author": "@adrienpoly",
"license": "MIT",
"external": "stimulus, flatpickr",
Expand Down
4 changes: 1 addition & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import babel from 'rollup-plugin-babel'

const pkg = require('./package.json')

const name = pkg.name

export default {
input: 'src/index.js',
external: ['stimulus', 'flatpickr'],
Expand All @@ -23,7 +21,7 @@ export default {
{
file: 'dist/index.umd.js',
format: 'umd',
name,
name: pkg.amdName,
sourcemap: true,
globals: {
stimulus: 'Stimulus',
Expand Down

0 comments on commit d5ce5cd

Please sign in to comment.