mirror of
https://github.com/c8r/x0.git
synced 2024-09-11 13:45:52 +03:00
Debug tests
This commit is contained in:
parent
f0273ed542
commit
03d0998dff
@ -180,7 +180,7 @@ module.exports = async (opts) => {
|
|||||||
config.output = {
|
config.output = {
|
||||||
path: opts.outDir,
|
path: opts.outDir,
|
||||||
filename: 'bundle.js',
|
filename: 'bundle.js',
|
||||||
publicPath: opts.basename + '/'
|
publicPath: (opts.basename || '') + '/'
|
||||||
}
|
}
|
||||||
|
|
||||||
// push per route/page
|
// push per route/page
|
||||||
|
@ -3,11 +3,13 @@ import path from 'path'
|
|||||||
import test from 'ava'
|
import test from 'ava'
|
||||||
import build from '../lib/build'
|
import build from '../lib/build'
|
||||||
|
|
||||||
const input = path.join(__dirname, 'components')
|
const input = path.resolve('test/components')
|
||||||
const output = path.join(__dirname, './output')
|
const output = path.resolve('test/output')
|
||||||
const htmlFile = path.join(__dirname, './output/index.html')
|
const htmlFile = path.resolve('test/output/index.html')
|
||||||
const propsFile = path.join(__dirname, './output/props/index.html')
|
const propsFile = path.resolve('test/output/props/index.html')
|
||||||
const bundleFile = path.join(__dirname, './output/bundle.js')
|
const bundleFile = path.resolve('test/output/bundle.js')
|
||||||
|
|
||||||
|
console.log('DEBUG', input)
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
input,
|
input,
|
||||||
|
Loading…
Reference in New Issue
Block a user