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