mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
chore: Fix import
This commit is contained in:
parent
de23443ded
commit
1530d34cff
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
import fastGlob from 'fast-glob';
|
import fastGlob from 'fast-glob';
|
||||||
import wrapAnsi from 'wrap-ansi';
|
import wrapAnsi from 'wrap-ansi';
|
||||||
import licenseChecker from 'license-checker-rseidelsohn';
|
import {init as licenseChecker} from 'license-checker-rseidelsohn';
|
||||||
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
||||||
import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin';
|
import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin';
|
||||||
import {VueLoaderPlugin} from 'vue-loader';
|
import {VueLoaderPlugin} from 'vue-loader';
|
||||||
|
@ -33,7 +33,7 @@ for (const path of glob('web_src/css/themes/*.css')) {
|
||||||
const isProduction = env.NODE_ENV !== 'development';
|
const isProduction = env.NODE_ENV !== 'development';
|
||||||
|
|
||||||
if (isProduction) {
|
if (isProduction) {
|
||||||
licenseChecker.init({
|
licenseChecker({
|
||||||
start: baseDirectory,
|
start: baseDirectory,
|
||||||
production: true,
|
production: true,
|
||||||
onlyAllow: 'Apache-2.0; 0BSD; BSD-2-Clause; BSD-3-Clause; BlueOak-1.0.0; MIT; ISC; Unlicense; CC-BY-4.0',
|
onlyAllow: 'Apache-2.0; 0BSD; BSD-2-Clause; BSD-3-Clause; BlueOak-1.0.0; MIT; ISC; Unlicense; CC-BY-4.0',
|
||||||
|
|
Loading…
Reference in a new issue