1
0
Fork 0
mirror of https://gitlab.com/hagrid-keyserver/hagrid.git synced 2023-02-13 20:55:02 -05:00

rename web to templates

This commit is contained in:
seu 2018-11-02 11:57:52 +01:00
parent 8957b6fdc7
commit dce2950a71
13 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ const copy = require('copy-webpack-plugin')
module.exports = {
mode: 'production',
entry: './web/index.js',
entry: './templates/index.js',
output: {
filename: 'site.js',
path: path.resolve(__dirname, 'dist', 'public', 'assets'),
@ -38,14 +38,14 @@ module.exports = {
plugins: [
new html({
filename: '../../templates/layout.html.hbs',
template: 'web/layout.html.hbs',
template: 'templates/layout.html.hbs',
}),
new text({
filename: 'site.css'
}),
new copy([
{
from: 'web/*.hbs',
from: 'templates/*.hbs',
to: path.resolve(__dirname, 'dist', "templates"),
ignore: [ 'layout.html.hbs' ],
flatten: true