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