Feature/plate editor (#115)

* Add plate editor
This commit is contained in:
Daniel Lautzenheiser
2022-12-01 19:29:33 -05:00
committed by GitHub
parent f3c4337268
commit 147592a8b8
345 changed files with 12561 additions and 4346 deletions

View File

@ -1,6 +1,7 @@
const path = require('path');
const webpack = require('webpack');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
const isProduction = process.env.NODE_ENV === 'production';
const devServerPort = parseInt(process.env.STATIC_CMS_DEV_SERVER_PORT || `${8080}`);
@ -18,7 +19,10 @@ module.exports = {
test: /\.m?js$/,
enforce: 'pre',
use: ['source-map-loader'],
exclude: /(node_modules[\\/]@toast-ui[\\/]editor[\\/]dist)/,
exclude: [
/(node_modules[\\/]@toast-ui[\\/]editor[\\/]dist)/,
/(node_modules[\\/]nth-check[\\/]lib)/,
],
},
{
test: /\.m?js$/,
@ -71,6 +75,7 @@ module.exports = {
],
},
resolve: {
plugins: [new TsconfigPathsPlugin({})],
extensions: ['.tsx', '.ts', '.jsx', '.js'],
fallback: {
path: require.resolve('path-browserify'),