style: use space indentation
feat: no new users allowed fix: change base language to Korean fix: change gacha to random text from devs
This commit is contained in:
parent
320dfc0696
commit
b6a3b0cd53
35 changed files with 335 additions and 367 deletions
|
@ -8,74 +8,74 @@ const isProduction = process.env.NODE_ENV === 'production';
|
|||
const meta = require('./package.json');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
fe: './src/frontend/init.tsx',
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
test: /\.(eot|woff|woff2|svg|ttf)([?]?.*)$/,
|
||||
type: 'asset/resource'
|
||||
}, {
|
||||
test: /\.json5$/,
|
||||
loader: 'json5-loader',
|
||||
options: {
|
||||
esModule: false,
|
||||
},
|
||||
type: 'javascript/auto'
|
||||
}, {
|
||||
test: /\.tsx?$/,
|
||||
use: [
|
||||
{ loader: 'ts-loader' }
|
||||
]
|
||||
}, {
|
||||
test: /\.scss$/,
|
||||
use: [
|
||||
'style-loader',
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: {
|
||||
url: false,
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
loader: 'sass-loader',
|
||||
options: {
|
||||
implementation: require('sass'),
|
||||
sassOptions: {
|
||||
fiber: false
|
||||
},
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
}, {
|
||||
test: /\.css$/i,
|
||||
use: ['style-loader', 'css-loader'],
|
||||
}]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProgressPlugin({}),
|
||||
],
|
||||
output: {
|
||||
path: __dirname + '/built/assets',
|
||||
filename: `[name].${meta.version}.js`,
|
||||
publicPath: '/assets/',
|
||||
pathinfo: false,
|
||||
},
|
||||
resolve: {
|
||||
extensions: [
|
||||
'.js', '.ts', '.json', '.tsx'
|
||||
],
|
||||
alias: {
|
||||
}
|
||||
},
|
||||
resolveLoader: {
|
||||
modules: ['node_modules']
|
||||
},
|
||||
experiments: {
|
||||
topLevelAwait: true
|
||||
},
|
||||
devtool: false, //'source-map',
|
||||
mode: isProduction ? 'production' : 'development'
|
||||
entry: {
|
||||
fe: './src/frontend/init.tsx',
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
test: /\.(eot|woff|woff2|svg|ttf)([?]?.*)$/,
|
||||
type: 'asset/resource'
|
||||
}, {
|
||||
test: /\.json5$/,
|
||||
loader: 'json5-loader',
|
||||
options: {
|
||||
esModule: false,
|
||||
},
|
||||
type: 'javascript/auto'
|
||||
}, {
|
||||
test: /\.tsx?$/,
|
||||
use: [
|
||||
{ loader: 'ts-loader' }
|
||||
]
|
||||
}, {
|
||||
test: /\.scss$/,
|
||||
use: [
|
||||
'style-loader',
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: {
|
||||
url: false,
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
loader: 'sass-loader',
|
||||
options: {
|
||||
implementation: require('sass'),
|
||||
sassOptions: {
|
||||
fiber: false
|
||||
},
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
}, {
|
||||
test: /\.css$/i,
|
||||
use: ['style-loader', 'css-loader'],
|
||||
}]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProgressPlugin({}),
|
||||
],
|
||||
output: {
|
||||
path: __dirname + '/built/assets',
|
||||
filename: `[name].${meta.version}.js`,
|
||||
publicPath: '/assets/',
|
||||
pathinfo: false,
|
||||
},
|
||||
resolve: {
|
||||
extensions: [
|
||||
'.js', '.ts', '.json', '.tsx'
|
||||
],
|
||||
alias: {
|
||||
}
|
||||
},
|
||||
resolveLoader: {
|
||||
modules: ['node_modules']
|
||||
},
|
||||
experiments: {
|
||||
topLevelAwait: true
|
||||
},
|
||||
devtool: false, //'source-map',
|
||||
mode: isProduction ? 'production' : 'development'
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue