fix build

This commit is contained in:
Tixie 2019-03-10 04:22:29 +01:00
parent 3b0bdf2780
commit 0bb91245cc
4 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import { import {
makeRectangle, makeRectangle,
crop crop
} from './rectangle.js' } from '@/services/rectangle.js'
const FRAMES_PER_SECOND = 10 const FRAMES_PER_SECOND = 10
const WIDTH = 200 const WIDTH = 200

View file

@ -1,4 +1,4 @@
import EncodeWorker from './encode.worker.js' import EncodeWorker from '@/services/encode.worker.js'
const PALETTE_SIZE = 255 const PALETTE_SIZE = 255

View file

@ -1,8 +1,8 @@
import Vue from 'vue' import Vue from 'vue'
import Vuex from 'vuex' import Vuex from 'vuex'
import { capture } from './services/capture.js' import { capture } from '@/services/capture.js'
import { encode } from './services/encode.js' import { encode } from '@/services/encode.js'
Vue.use(Vuex) Vue.use(Vuex)

View file

@ -9,6 +9,7 @@ module.exports = {
importWorkboxFrom: 'local' importWorkboxFrom: 'local'
} }
}, },
parallel: false,
configureWebpack: { configureWebpack: {
module: { module: {
rules: [ rules: [