Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-vl committed Oct 4, 2023
1 parent 26ffc58 commit 9dea94b
Show file tree
Hide file tree
Showing 3 changed files with 2,434 additions and 2,255 deletions.
12 changes: 5 additions & 7 deletions .config/webpack/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
import CopyWebpackPlugin from 'copy-webpack-plugin';
import ESLintPlugin from 'eslint-webpack-plugin';
import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
import LiveReloadPlugin from 'webpack-livereload-plugin';
import path from 'path';
import ReplaceInFileWebpackPlugin from 'replace-in-file-webpack-plugin';
import { Configuration } from 'webpack';

import { getPackageJson, getPluginJson, hasReadme, getEntries, isWSL } from './utils';
import { SOURCE_DIR, DIST_DIR } from './constants';
import LiveReloadPlugin from 'webpack-livereload-plugin';
import { DIST_DIR, SOURCE_DIR } from './constants';
import { getEntries, getPackageJson, getPluginJson, hasReadme, isWSL } from './utils';

const pluginJson = getPluginJson();

Expand Down Expand Up @@ -82,7 +81,7 @@ const config = async (env): Promise<Configuration> => {
loader: 'swc-loader',
options: {
jsc: {
baseUrl: './src',
baseUrl: path.resolve(__dirname, 'src'),
target: 'es2015',
loose: false,
parser: {
Expand All @@ -97,7 +96,7 @@ const config = async (env): Promise<Configuration> => {
},
{
test: /\.css$/,
use: ["style-loader", "css-loader"]
use: ['style-loader', 'css-loader'],
},
{
test: /\.s[ac]ss$/,
Expand Down Expand Up @@ -207,7 +206,6 @@ const config = async (env): Promise<Configuration> => {
}

return baseConfig;

};

export default config;
Loading

0 comments on commit 9dea94b

Please sign in to comment.