mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Parse markdown using stimulus controller.
This commit is contained in:
parent
b9a86c6a59
commit
f3680ea7de
4 changed files with 72 additions and 5 deletions
|
@ -98,7 +98,7 @@ Encore
|
|||
//.enableSassLoader()
|
||||
|
||||
// uncomment if you use TypeScript
|
||||
.enableTypeScriptLoader()
|
||||
//.enableTypeScriptLoader()
|
||||
|
||||
// uncomment if you use React
|
||||
//.enableReactPreset()
|
||||
|
@ -124,9 +124,19 @@ Encore
|
|||
|
||||
// uncomment if you're having problems with a jQuery plugin
|
||||
.autoProvidejQuery()
|
||||
|
||||
;
|
||||
|
||||
//Copy bootstrap map if in debug mode
|
||||
if (Encore.isDev()) {
|
||||
Encore.addPlugin(new CopyPlugin({
|
||||
patterns: [
|
||||
{
|
||||
from: 'node_modules/bootstrap/dist/css/bootstrap.min.css.map',
|
||||
to: 'themes/bootstrap.min.css.map'
|
||||
}
|
||||
]}))
|
||||
}
|
||||
|
||||
if (Encore.isProduction()) {
|
||||
Encore.addPlugin(new CompressionPlugin({
|
||||
filename: '[path][base].br',
|
||||
|
@ -151,7 +161,7 @@ if (Encore.isProduction()) {
|
|||
|
||||
if (Encore.isDev()) {
|
||||
//Only uncomment if needed, as this cause problems with Github actions (job does not finish)
|
||||
//Encore.addPlugin(new BundleAnalyzerPlugin());
|
||||
Encore.addPlugin(new BundleAnalyzerPlugin());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue