Sha256: eadb462355219f67894789a6b41f6e64165ad87e693bd63eb8065d2645aa91d5

Contents?: true

Size: 820 Bytes

Versions: 17

Compression:

Stored size: 820 Bytes

Contents

const path = require('path')

module.exports = {
  publicPath: '/tools/<%= tool_name %>',
  outputDir: 'tools/<%= tool_name %>',
  filenameHashing: false,
  transpileDependencies: ['vuetify'],
  devServer: {
    port: 2999,
    headers: {
      'Access-Control-Allow-Origin': '*',
    },
    client: {
      webSocketURL: {
        hostname: 'localhost',
        pathname: '/tools/<%= tool_name %>',
        port: 2999,
      },
    },
  },
  configureWebpack: {
    output: {
      libraryTarget: 'system',
    },
  },
  chainWebpack: (config) => {
    config.module.rule('js').use('babel-loader')
    config.module
      .rule('vue')
      .use('vue-loader')
      .tap((options) => {
        return {
          prettify: false,
        }
      })
    config.externals(['vue', 'vuetify', 'vuex', 'vue-router'])
  },
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
openc3-5.20.0 templates/tool_vue/vue.config.js
openc3-5.19.0 templates/tool_vue/vue.config.js
openc3-5.18.0 templates/tool_vue/vue.config.js
openc3-5.17.1 templates/tool_vue/vue.config.js
openc3-5.17.0 templates/tool_vue/vue.config.js
openc3-5.16.0 templates/tool_vue/vue.config.js
openc3-5.15.2 templates/tool_vue/vue.config.js
openc3-5.15.1 templates/tool_vue/vue.config.js
openc3-5.15.0 templates/tool_vue/vue.config.js
openc3-5.14.2 templates/tool_vue/vue.config.js
openc3-5.14.1 templates/tool_vue/vue.config.js
openc3-5.14.0 templates/tool_vue/vue.config.js
openc3-5.13.0 templates/tool_vue/vue.config.js
openc3-5.12.0 templates/tool_vue/vue.config.js
openc3-5.11.3 templates/tool_vue/vue.config.js
openc3-5.11.2 templates/tool_vue/vue.config.js
openc3-5.11.1 templates/tool_vue/vue.config.js