Move assets to assets/ root folder "as is"

This commit is contained in:
Yassine Guedidi 2024-02-24 23:54:36 +01:00
parent cd6f7b5e92
commit 0ce5570cec
40 changed files with 3 additions and 7 deletions

1
.gitignore vendored
View file

@ -48,7 +48,6 @@ data/db/wallabag*.sqlite
# assets stuff
node_modules/
bin
app/Resources/build/
package-lock.json
# Test-generated files

View file

@ -6,8 +6,8 @@ const projectDir = path.resolve(__dirname, '../../../');
module.exports = {
entry: {
material: path.join(projectDir, './app/Resources/static/themes/material/index.js'),
public: path.join(projectDir, './app/Resources/static/themes/_global/share.js'),
material: path.join(projectDir, './assets/material/index.js'),
public: path.join(projectDir, './assets/_global/share.js'),
},
output: {
filename: '[name].js',
@ -25,7 +25,7 @@ module.exports = {
configFile: 'stylelint.config.js',
failOnError: false,
quiet: false,
context: 'app/Resources/static/themes',
context: 'assets',
files: '**/*.scss',
}),
],

View file

@ -85,9 +85,6 @@ module.exports = merge(commonConfig, {
test: /\.(jpg|png|gif|svg|ico)$/,
exclude: /node_modules/,
type: 'asset/resource',
generator: {
filename: (content) => content.filename.replace('app/Resources/static/', ''),
},
},
{
test: /\.(eot|ttf|woff|woff2)$/,

View file

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 164 B

View file

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

Before

Width:  |  Height:  |  Size: 891 B

After

Width:  |  Height:  |  Size: 891 B

View file

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 451 B

View file

Before

Width:  |  Height:  |  Size: 995 B

After

Width:  |  Height:  |  Size: 995 B

View file

Before

Width:  |  Height:  |  Size: 1,012 B

After

Width:  |  Height:  |  Size: 1,012 B

View file

Before

Width:  |  Height:  |  Size: 718 B

After

Width:  |  Height:  |  Size: 718 B

View file

Before

Width:  |  Height:  |  Size: 110 B

After

Width:  |  Height:  |  Size: 110 B

View file

Before

Width:  |  Height:  |  Size: 138 B

After

Width:  |  Height:  |  Size: 138 B