forked from Mastodon/mastoradio-la-radio-di-mastodon
update build config
This commit is contained in:
parent
aa13144fe8
commit
8789ef3d94
10
.babelrc
10
.babelrc
|
@ -1,11 +1,17 @@
|
|||
{
|
||||
"presets": [
|
||||
["@babel/preset-env", {
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"useBuiltIns": "usage",
|
||||
"exclude": [
|
||||
"@babel/plugin-transform-classes"
|
||||
],
|
||||
"corejs": {
|
||||
"version": 3,
|
||||
"proposals": true
|
||||
}
|
||||
}]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
last 2 chrome versions
|
||||
last 2 and_chr versions
|
||||
last 2 edge versions
|
||||
last 2 ff versions
|
||||
last 2 and_ff versions
|
||||
last 2 safari versions
|
||||
last 2 ios_saf versions
|
File diff suppressed because it is too large
Load Diff
|
@ -12,7 +12,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.7.7",
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/preset-env": "^7.8.3",
|
||||
"autoprefixer": "^9.7.4",
|
||||
"parcel": "^1.12.4",
|
||||
|
@ -26,18 +26,16 @@
|
|||
"dependencies": {
|
||||
"@popperjs/core": "^2.0.6",
|
||||
"copy-to-clipboard": "^3.2.1",
|
||||
"core-js-pure": "^3.6.4",
|
||||
"core-js": "^3.6.4",
|
||||
"date-fns": "^2.9.0",
|
||||
"get-urls": "^9.2.0",
|
||||
"iter-tools": "^7.0.0-rc.0",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
"route-parser": "0.0.5",
|
||||
"svelte-pipeable-store": "^1.0.3",
|
||||
"svelte-portal": "^0.1.0",
|
||||
"svelte-routing": "^1.4.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"last 1 chrome versions"
|
||||
],
|
||||
"staticFiles": {
|
||||
"staticPath": "public",
|
||||
"watcherGlob": "**"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
import 'core-js/stable'
|
||||
import 'core-js/proposals'
|
||||
import 'regenerator-runtime/runtime'
|
||||
|
||||
import App from '/components/App.svelte'
|
||||
|
||||
const app = new App({
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
import Observable from 'core-js-pure/features/observable'
|
||||
import getUrls from 'get-urls'
|
||||
import { urlsToMedia } from '/services/misc.js'
|
||||
|
||||
const LINK_RE = /<(.+?)>; rel="(\w+)"/gi
|
||||
|
||||
function parseLinkHeader(linkHeader) {
|
||||
|
|
Loading…
Reference in New Issue