-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstencil.config.ts
More file actions
32 lines (31 loc) · 858 Bytes
/
stencil.config.ts
File metadata and controls
32 lines (31 loc) · 858 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
import { Config } from "@stencil/core";
import { sass } from "@stencil/sass";
export const config: Config = {
namespace: "wjhdev",
outputTargets: [
{
type: "www",
serviceWorker: null, // disable service workers,
buildDir: "app",
dir: "bin/wp-content/themes/wjh.dev/",
copy: [
{ src: "style.css" },
{ src: "index.php" },
{ src: "theme-definition.json" },
{
src: "../node_modules/@webpress/core/dist/collection/theme-overlay/functions.php",
dest: "functions.php",
},
{
src: "../node_modules/@webpress/core/dist/collection/theme-overlay/etc",
dest: "etc",
},
],
},
{
type: "stats",
file: "./bin/stencil-stats.json",
},
],
plugins: [sass({ injectGlobalPaths: ["src/assets/style.scss"] })],
};