-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
457 additions
and
182 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.48 KB
.yarn/cache/@next-bundle-analyzer-npm-14.1.0-61563a7606-535bae089b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+367 KB
.yarn/cache/webpack-bundle-analyzer-npm-4.10.1-57768ac46c-77f48f10a4.zip
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const IS_PROD = process.env.NODE_ENV === "production"; | ||
|
||
// The folders containing files importing twin.macro | ||
const path = require("path"); | ||
const includedDirs = [path.resolve(__dirname, "../src")]; | ||
|
||
module.exports = () => ({ | ||
reactStrictMode: true, | ||
swcMinify: true, | ||
webpack: (config, options) => { | ||
const { dev, isServer } = options; | ||
config.module = config.module || {}; | ||
config.module.rules = config.module.rules || []; | ||
config.experiments = { | ||
...config.experiments, | ||
topLevelAwait: true, | ||
}; | ||
|
||
config.module.rules.push({ | ||
test: /.svg$/, | ||
use: [ | ||
{ | ||
loader: "@svgr/webpack", | ||
options: { | ||
svgo: false, | ||
}, | ||
}, | ||
], | ||
}); | ||
config.module.rules.push({ | ||
test: /\.(tsx|ts)$/, | ||
include: includedDirs, | ||
use: [ | ||
options.defaultLoaders.babel, | ||
{ | ||
loader: "babel-loader", | ||
options: { | ||
sourceMaps: dev, | ||
presets: [ | ||
["@babel/preset-react", { runtime: "automatic", importSource: "@emotion/react" }], | ||
], | ||
plugins: [ | ||
require.resolve("babel-plugin-macros"), | ||
[require.resolve("@babel/plugin-syntax-typescript"), { isTSX: true }], | ||
], | ||
}, | ||
}, | ||
], | ||
}); | ||
|
||
if (!isServer) { | ||
config.resolve.fallback = { | ||
...(config.resolve.fallback || {}), | ||
fs: false, | ||
module: false, | ||
path: false, | ||
os: false, | ||
crypto: false, | ||
}; | ||
} | ||
return config; | ||
}, | ||
images: { | ||
unoptimized: true, | ||
remotePatterns: [ | ||
{ | ||
protocol: "https", | ||
hostname: "**", | ||
}, | ||
], | ||
// Link: https://fe-developers.kakaoent.com/2022/220714-next-image/ | ||
imageSizes: [64, 256], | ||
deviceSizes: [512], | ||
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;", | ||
}, | ||
sentry: { | ||
// Use `hidden-source-map` rather than `source-map` as the Webpack `devtool` | ||
// for client-side builds. (This will be the default starting in | ||
// `@sentry/nextjs` version 8.0.0.) See | ||
// https://webpack.js.org/configuration/devtool/ and | ||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map | ||
// for more information. | ||
hideSourceMaps: IS_PROD, | ||
}, | ||
}); |
Oops, something went wrong.
9501b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
thismeme-web – ./
thismeme-web-git-main-thismeme-official-s-team.vercel.app
thismeme-web-thismeme-official-s-team.vercel.app
app.thismeme.me