0.102.3 • Published 1 year ago

@adaliszk/qwik-compiler v0.102.3

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
1 year ago

Configuration for Qwik-based project compilation using Vite

Provides

Pre-configured Vite with:

  • @adaliszk/web-compiler
  • Qwik and Qwik-City

Usage

  1. Install the package yarn add --dev @adaliszk/qwik-compiler
  2. Configure vite for development and bundling:

    import { qwikConfig } from '@adaliszk/qwik-compiler'
    
    export default qwikConfig()
  3. Add vite commands to your scope:

    {
    "scripts": {
      "build": "qwik-compiler build",
      "preview": "qwik-compiler preview",
      "start": "qwik-compiler"
    }
    }

Configuration

The qwikConfig factory provides a user configuration that extends vite's config, but adds additional properties. With this package, the additional properties are:

  • qwik: Configuration for the qwikVite plugin
  • city: Configuration for the qwikCity plugin, if boolean supplied it can control if the plugin is loaded or not

Example:

import { qwikConfig } from '@adaliszk/qwik-compiler'
   
export default qwikConfig({
    city: false,  // Disable City for projects that does not need router
    qwik: {       // Configure Qwik as usual
        debug: true,
    }
})

Versioning

Since this is a meta-package, the versioning reflect its main provided package, in this case @builder.io/qwik. However, only the Major and Minor versions are kept in sync, and the Patch is used to bump the meta-package.

0.102.1

1 year ago

0.102.2

1 year ago

0.102.3

1 year ago

0.21.4

1 year ago

0.21.3

1 year ago

0.21.2

1 year ago

0.21.1

1 year ago

0.20.1

1 year ago

0.19.2

1 year ago

0.19.1

1 year ago

0.18.6

1 year ago

0.18.5

1 year ago

0.18.4

1 year ago

0.18.3

1 year ago

0.18.2

1 year ago

0.18.1

1 year ago