Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports.init = function () {
/* eslint-disable global-require */
const Vue = require('vue').default
const Vuex = require('vuex').default
Vue.use(Vuex)
module.exports = {Vue, Vuex}
module.exports.h = require('hyperscript')
module.exports.moment = require('moment')
const jss = require('jss').default
jss.setup(require('jss-preset-default').default())
const jssopts = {classNamePrefix: 'WikiMonkey-'}
module.exports.jssc = (style) => jss.createStyleSheet(style, jssopts).attach()
module.exports.styled = require('@kynikos/vue-styled-jss')(jss, jssopts)
// Clipboard.js doesn't import well with Browserify
// https://github.com/zenorocha/clipboard.js/issues/535