mirror of
https://github.com/Steffo99/bluelib.git
synced 2025-01-03 00:54:20 +00:00
0.13.6
This commit is contained in:
parent
22f24945a8
commit
bf58982eeb
17 changed files with 41 additions and 22 deletions
|
@ -1 +0,0 @@
|
||||||
/*! For license information please see bundle.35bd4.esm.js.LICENSE.txt */
|
|
File diff suppressed because one or more lines are too long
1
docs/bundle.7467d.esm.js.LICENSE.txt
Normal file
1
docs/bundle.7467d.esm.js.LICENSE.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/*! For license information please see bundle.7467d.esm.js.LICENSE.txt */
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.35bd4.esm.js","sourceRoot":""}
|
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.7467d.esm.js","sourceRoot":""}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
<!DOCTYPE html><html lang="it"><head><meta charset="utf-8"><title>bluelib</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>body{background-color:#0d193b;color:#a0ccff}</style><link rel="manifest" href="/manifest.json"><link href="/bundle.1f6e4.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.1f6e4.css"></noscript></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.35bd4.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.08a85.js"></script></body></html>
|
<!DOCTYPE html><html lang="it"><head><meta charset="utf-8"><title>bluelib</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>body{background-color:#0d193b;color:#a0ccff}</style><link rel="manifest" href="/manifest.json"><link href="/bundle.1f6e4.css" rel="preload" as="style" onload="this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/bundle.1f6e4.css"></noscript></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.7467d.esm.js" type="module"></script><script nomodule="" src="/polyfills.ac517.js"></script><script nomodule="" defer="defer" src="/bundle.ec74f.js"></script></body></html>
|
|
@ -1 +1 @@
|
||||||
{"/":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.35bd4.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.35bd4.esm.js":{"type":"script","weight":1},"route-Sample.chunk.5d853.esm.js":{"type":"script","weight":0.9},"route-Sample.chunk.6e286.css":{"type":"style","weight":0.9}}}
|
{"/":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.7467d.esm.js":{"type":"script","weight":1}},"/Sample":{"bundle.1f6e4.css":{"type":"style","weight":1},"bundle.7467d.esm.js":{"type":"script","weight":1},"route-Sample.chunk.8c128.esm.js":{"type":"script","weight":0.9},"route-Sample.chunk.6e286.css":{"type":"style","weight":0.9}}}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.5d853.esm.js","sourceRoot":""}
|
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-Sample.chunk.8c128.esm.js","sourceRoot":""}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"private": false,
|
"private": false,
|
||||||
"name": "bluelib",
|
"name": "bluelib",
|
||||||
"version": "0.13.5",
|
"version": "0.13.6",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"source": "src/index.js",
|
"source": "src/index.js",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|
|
@ -2,14 +2,33 @@ const DefinePlugin = require("webpack/lib/DefinePlugin");
|
||||||
|
|
||||||
|
|
||||||
export default function (config, env, helpers) {
|
export default function (config, env, helpers) {
|
||||||
config.module.rules[4].include = [env.source(".")]
|
config.module.rules[4].include = [env.source(".")];
|
||||||
config.module.rules[5].exclude = [env.source(".")]
|
config.module.rules[5].exclude = [env.source(".")];
|
||||||
|
|
||||||
// noinspection JSUnresolvedVariable
|
// noinspection JSUnresolvedVariable
|
||||||
config.resolve.alias["react"] = "preact/compat";
|
config.resolve.alias["react"] = "preact/compat";
|
||||||
// noinspection JSUnresolvedVariable
|
// noinspection JSUnresolvedVariable
|
||||||
config.resolve.alias["react-dom"] = "preact/compat";
|
config.resolve.alias["react-dom"] = "preact/compat";
|
||||||
|
|
||||||
|
config.module.rules.push(
|
||||||
|
{
|
||||||
|
test: /\.nojekyll$/,
|
||||||
|
loader: 'file-loader',
|
||||||
|
options: {
|
||||||
|
name: '.nojekyll'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
config.module.rules.push(
|
||||||
|
{
|
||||||
|
test: /CNAME$/,
|
||||||
|
loader: 'file-loader',
|
||||||
|
options: {
|
||||||
|
name: 'CNAME'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
new DefinePlugin({"process.env.RELEASE": `"${process.env.npm_package_version}"`})
|
new DefinePlugin({"process.env.RELEASE": `"${process.env.npm_package_version}"`})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue