1 | module.exports = {
|
2 | presets: ["next/babel", "@zeit/next-typescript/babel"],
|
3 | plugins: [
|
4 | ["transform-define", { "process.env.WEBSITE_ROOT": process.env.WEBSITE_ROOT }],
|
5 | "lodash",
|
6 | [
|
7 | "module-resolver",
|
8 | {
|
9 | root: ".",
|
10 | alias: {
|
11 | "pages-content": "./pages-content",
|
12 | "@common": "./pages-content/_common"
|
13 | },
|
14 | },
|
15 | ],
|
16 | ],
|
17 | }
|