Commit Graph

13 Commits

Author SHA1 Message Date
Yev Vlasenko d3198e1388 Added build target without css, started using prettier intead of linting 2017-12-28 18:27:58 +00:00
yev 2be134436f extracting css 2017-12-27 20:34:51 +00:00
euvl 7dacd010ec Updated webpack conf which decreased the size of dist by mre than 30% 2017-10-25 15:31:53 +01:00
arve0 e3179625d0 Remove Vue runtime dependency
This allow the bundle to be used in jsfiddle, plnkr, jsbin, etc.,
as the bundle does not depend on Vue.

The problem lies on second line of bundle

```js
"object" == typeof exports ? exports["vue-js-modal"] = factory(require("vue")) : root["vue-js-modal"] = factory(root.vue)
```

where `factory` tries to find `root.vue`, but the official Vue bundle exports
as `root.Vue`.

Removing the runtime dependency solves this.

`Object.assign` is available in all browsers but IE:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
2017-09-13 20:30:01 +02:00
euvl 48721f956d Added uglification stap to remove dead code (fix by @arve0) 2017-09-13 13:41:30 +01:00
euvl 0089717a8c Added unit tests for "parser.js" and "util.js" 2017-08-07 16:07:57 +01:00
euvl f371235d03 Changed libraryTarget to "umd" + rebuild 🚀 2017-06-22 15:54:52 +01:00
euvl b652b4342c Fixed issues with file names 2017-06-20 09:00:17 +01:00
euvl dcf3291623 Added putputs for client and server 2017-06-20 03:39:15 +01:00
euvl c1913b0490 Replaced with the newer version 2017-03-10 10:46:05 +00:00
euvl 675e6cdcb7 Added dist to git 2016-11-14 16:01:56 +00:00
euvl ee50379de6 Cleaning in progress 2016-11-14 12:40:24 +00:00
euvl 729fb78474 first commit 2016-11-14 12:16:39 +00:00