-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathlynx.web.config.mjs
More file actions
33 lines (30 loc) · 875 Bytes
/
lynx.web.config.mjs
File metadata and controls
33 lines (30 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright 2024 The Lynx Authors. All rights reserved.
// Licensed under the Apache License Version 2.0 that can be found in the
// LICENSE file in the root directory of this source tree.
import { pluginQRCode } from "@lynx-js/qrcode-rsbuild-plugin";
import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
import { defineConfig } from "@lynx-js/rspeedy";
import { pluginSass } from "@rsbuild/plugin-sass";
import { pluginTypeCheck } from "@rsbuild/plugin-type-check";
import { entry } from "./lynx.config.mjs";
delete entry.autoHeight;
export default defineConfig({
source: {
entry,
},
plugins: [
pluginReactLynx(),
pluginSass(),
pluginQRCode(),
pluginTypeCheck(),
],
output: {
assetPrefix: "https://lynxjs.org/lynx-examples/input/dist",
},
environments: {
web: {},
},
output: {
cleanDistPath: false,
},
});