Rollup and NPM related
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
'standard'
|
||||
'eslint:recommended'
|
||||
],
|
||||
env: {
|
||||
'browser': true,
|
||||
'node': true,
|
||||
// 'node': true,
|
||||
'es6': true
|
||||
},
|
||||
parserOptions: {
|
||||
'ecmaVersion': 2019,
|
||||
'sourceType': 'module'
|
||||
},
|
||||
plugins: [
|
||||
'svelte3'
|
||||
],
|
||||
plugins: [ 'svelte3' ],
|
||||
overrides: [{
|
||||
files: ['**/*.svelte'],
|
||||
processor: 'svelte3/svelte3'
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"rollup-plugin-babel": "^4.3.3",
|
||||
"rollup-plugin-commonjs": "^10.1.0",
|
||||
"rollup-plugin-eslint": "^7.0.0",
|
||||
"rollup-plugin-hot": "^0.0.12",
|
||||
"rollup-plugin-hot": "^0.0.13",
|
||||
"rollup-plugin-svelte": "^5.1.1",
|
||||
"rollup-plugin-svelte-hot": "^0.4.0",
|
||||
"rollup-plugin-terser": "^5.2.0",
|
||||
|
||||
14
pnpm-lock.yaml
generated
14
pnpm-lock.yaml
generated
@@ -34,7 +34,7 @@ devDependencies:
|
||||
rollup-plugin-babel: 4.3.3_@babel+core@7.8.6+rollup@1.32.0
|
||||
rollup-plugin-commonjs: 10.1.0_rollup@1.32.0
|
||||
rollup-plugin-eslint: 7.0.0
|
||||
rollup-plugin-hot: 0.0.12_rollup@1.32.0
|
||||
rollup-plugin-hot: 0.0.13_rollup@1.32.0
|
||||
rollup-plugin-svelte: 5.1.1_rollup@1.32.0+svelte@3.19.1
|
||||
rollup-plugin-svelte-hot: 0.4.0_rollup@1.32.0+svelte@3.19.1
|
||||
rollup-plugin-terser: 5.2.0_rollup@1.32.0
|
||||
@@ -2765,10 +2765,10 @@ packages:
|
||||
hasBin: true
|
||||
resolution:
|
||||
integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
|
||||
/hosted-git-info/2.8.5:
|
||||
/hosted-git-info/2.8.8:
|
||||
dev: true
|
||||
resolution:
|
||||
integrity: sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==
|
||||
integrity: sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==
|
||||
/html-minifier/4.0.0:
|
||||
dependencies:
|
||||
camel-case: 3.0.0
|
||||
@@ -3790,7 +3790,7 @@ packages:
|
||||
integrity: sha1-xkZdvwirzU2zWTF/eaxopkayj/k=
|
||||
/normalize-package-data/2.5.0:
|
||||
dependencies:
|
||||
hosted-git-info: 2.8.5
|
||||
hosted-git-info: 2.8.8
|
||||
resolve: 1.15.1
|
||||
semver: 5.7.1
|
||||
validate-npm-package-license: 3.0.4
|
||||
@@ -4910,7 +4910,7 @@ packages:
|
||||
dev: true
|
||||
resolution:
|
||||
integrity: sha512-u35kXiY11ULeNQGTlRkYx7uGJ/hS/Dx3wj8f9YVC3oMLTGU9fOqQJsAKYtBFZU3gJ8Vt3gu8ppB1vnKl+7gatQ==
|
||||
/rollup-plugin-hot/0.0.12_rollup@1.32.0:
|
||||
/rollup-plugin-hot/0.0.13_rollup@1.32.0:
|
||||
dependencies:
|
||||
cors: 2.8.5
|
||||
express: 4.17.1
|
||||
@@ -4921,7 +4921,7 @@ packages:
|
||||
peerDependencies:
|
||||
rollup: ^1.24.0
|
||||
resolution:
|
||||
integrity: sha512-hM0jhGyeYSxgGkqMKDLIWklTZnWc7c97wg6h2OfTGp43tOMFEmkWJrCSgPkxwbI10hcIoNq3iAMu5ypxpc4/AA==
|
||||
integrity: sha512-ENVzAiYFkE+ALF0zeAxUL96PKzeAgGstyxZLMA7xyamPRZbWfgqDbPsMQKWUZwbX5PDH8M9sCAAHQ5mcMFQqyw==
|
||||
/rollup-plugin-hot/0.0.9_rollup@1.32.0:
|
||||
dependencies:
|
||||
cors: 2.8.5
|
||||
@@ -5945,7 +5945,7 @@ specifiers:
|
||||
rollup-plugin-babel: ^4.3.3
|
||||
rollup-plugin-commonjs: ^10.1.0
|
||||
rollup-plugin-eslint: ^7.0.0
|
||||
rollup-plugin-hot: ^0.0.12
|
||||
rollup-plugin-hot: ^0.0.13
|
||||
rollup-plugin-svelte: ^5.1.1
|
||||
rollup-plugin-svelte-hot: ^0.4.0
|
||||
rollup-plugin-terser: ^5.2.0
|
||||
|
||||
@@ -6,10 +6,10 @@ import svelte from 'rollup-plugin-svelte'
|
||||
import babel from 'rollup-plugin-babel'
|
||||
// import { eslint } from 'rollup-plugin-eslint'
|
||||
// import browsersync from 'rollup-plugin-browsersync'
|
||||
import hmr from 'rollup-plugin-hot'
|
||||
// import hmr from 'rollup-plugin-hot'
|
||||
import sveltePreprocess from 'svelte-preprocess'
|
||||
import { terser } from 'rollup-plugin-terser'
|
||||
import config from 'sapper/config/rollup.js'
|
||||
import config from 'sapper/config/rollup'
|
||||
import pkg from './package.json'
|
||||
|
||||
// Define environment and things
|
||||
@@ -45,8 +45,7 @@ export default {
|
||||
dev,
|
||||
preprocess,
|
||||
hydratable: true,
|
||||
// emitCss: true,
|
||||
// css: css => css.write('public/bundle.css'),
|
||||
emitCss: true,
|
||||
// ...(!dev && {
|
||||
css: css => css.write('static/bundle.css', dev),
|
||||
// }),
|
||||
@@ -72,7 +71,7 @@ export default {
|
||||
// dev && eslint(),
|
||||
!dev && babel({
|
||||
extensions: ['.js', '.mjs', '.html', '.svelte'],
|
||||
exclude: ['node_modules/@babel/**'],
|
||||
exclude: ['*.scss', '*.css', 'node_modules/@babel/**'],
|
||||
runtimeHelpers: true
|
||||
}),
|
||||
// hot && hmr({
|
||||
|
||||
0
static/robots.txt
Normal file
0
static/robots.txt
Normal file
Reference in New Issue
Block a user