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:
parent
8957b6fdc7
commit
dce2950a71
13 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue