forked from gitter-badger/jackpine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwpackio.project.js
More file actions
49 lines (48 loc) · 1.22 KB
/
wpackio.project.js
File metadata and controls
49 lines (48 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
const packageJson = require('./package.json')
module.exports = {
appName: 'jackpine',
type: 'theme',
slug: 'jackpine',
bannerConfig: {
name: packageJson.name,
author: packageJson.author,
license: packageJson.license,
link: packageJson.homepage,
version: packageJson.version,
copyrightText: `This software is released under the ${packageJson.license} License (https://opensource.org/licenses/${packageJson.license})`,
credit: true,
},
files: [
{
name: 'app',
entry: {
main: ['./assets/js/app.js', './assets/sass/app.scss'],
},
webpackConfig: undefined,
},
],
outputPath: 'dist',
hasReact: false,
disableReactRefresh: false,
hasSass: true,
hasLess: false,
hasFlow: false,
externals: {},
alias: undefined,
errorOverlay: true,
optimizeSplitChunks: true,
watch: [
'assets/templates/**/*.twig',
'src/**/*.php',
'theme/**/*.php',
],
packageFiles: [
'dist/**',
'assets/templates/**',
'theme/**',
'vendor/**',
'*.md',
'LICENSE',
],
packageDirPath: 'package',
}