webpack

package
Version: v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entrypoints

type Entrypoints []string

func (Entrypoints) Scripts

func (e Entrypoints) Scripts() Entrypoints

func (Entrypoints) Styles

func (e Entrypoints) Styles() Entrypoints

type Manifest

type Manifest struct {
	Files       map[string]string `json:"files"`
	Entrypoints Entrypoints
}

Manifest reflects the structure of asset-manifest.json

type Webpack

type Webpack struct {
	Manifest Manifest
}

Webpack is a webpack integration

func New

func New(buildPath string) (*Webpack, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL