storyblok / storyblok-fieldtype

Tool for creating custom fieldtypes for Storyblok with babel, browserify and hotreload
12 stars 13 forks source link

Switch to use vue-cli 3. #3

Closed DominikAngerer closed 5 years ago

DominikAngerer commented 5 years ago

Changes setup to use vue cli 3 with following configuration, which will produce one file including the code needed to deploy with our plugin system in dist/export.js.

Still uses

vue.config.js

module.exports = {
  configureWebpack: {
    output: {
      filename: 'export.js'
    },
    optimization: {
      splitChunks: false
    }
  },
  filenameHashing: false,
  runtimeCompiler: true,
  productionSourceMap: false,
  css: {
    extract: false
  }
}

Tested

[x] Local (in Frame) [x] Built [x] Proxy Components

Screens (Local & Built)

bildschirmfoto 2019-01-02 um 14 38 32 bildschirmfoto 2019-01-02 um 14 37 55