Skip to content

Commit

Permalink
chore: doe not polyfill anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
simllll committed May 10, 2019
1 parent 84dfb3b commit beed6d6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
[
"@babel/preset-env",
{
"loose": true,
"useBuiltIns": "usage",
"corejs": 3
"loose": true
}
]
]
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ this is a fork of https://github.com/Akryum/vue-virtual-scroller:
* uses @hokify/vue-observe-visibility to fix observer error
* also includes library updates

* does transpile to es5 (via babel), but does not polyfill (e.g. Map). use core-js to polyfill this if needed (e.g. core-js/modules/es.map)

To install this fork, use:
```
npm install --save @hokify/vue-virtual-scroller
Expand Down
3 changes: 1 addition & 2 deletions build/rollup.config.browser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import base from './rollup.config.base'
import { uglify } from 'rollup-plugin-uglify'
import { minify } from 'uglify-es'

const config = Object.assign({}, base, {
output: {
Expand All @@ -14,6 +13,6 @@ const config = Object.assign({}, base, {
},
})

config.plugins.push(uglify({}, minify))
config.plugins.push(uglify())

export default config
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hokify/vue-virtual-scroller",
"description": "Smooth scrolling for any amount of data",
"version": "1.0.0-rc.9",
"version": "1.0.0-rc.10",
"publishConfig": {
"access": "public"
},
Expand All @@ -19,7 +19,7 @@
"module": "dist/vue-virtual-scroller.esm.js",
"unpkg": "dist/vue-virtual-scroller.min.js",
"scripts": {
"build": "npm run build:browser && npm run build:es && npm run build:umd",
"build": "npm run lint && npm run build:browser && npm run build:es && npm run build:umd",
"build:browser": "rollup --config build/rollup.config.browser.js",
"build:es": "rollup --config build/rollup.config.es.js",
"build:umd": "rollup --config build/rollup.config.umd.js",
Expand Down Expand Up @@ -70,7 +70,6 @@
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-uglify": "^6.0.2",
"rollup-plugin-vue": "^5.0.0",
"uglify-es": "^3.3.9",
"vue": "^2.5.17",
"vue-template-compiler": "2.6.10"
},
Expand Down

0 comments on commit beed6d6

Please sign in to comment.