1.1.1 • Published 3 years ago

gpp-loader v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

NPM Status

This package allows automatically put exports and imports in files of gpp-templator for webpack.

webpack 5.x | gpp-loader 1.x | gpp-templator 1.x

npm install -D gpp-loader

webpack documentation: Loaders

Within your webpack configuration object, you'll need to add the gpp-loader to the list of modules, like so:

module: {
  rules: [
    {
      test: /\.ts$/,,
      exclude: /node_modules/,
      use: 'gpp-loader'
    }
  ]
}

Options

You can pass options to the loader by using the options property:

module: {
  rules: [
    {
      test: /\.ts$/,,
      exclude: /node_modules/,
      use: {
        loader: 'gpp-loader',
        options: {
          componentsDir: 'components'
        }
      }
    }
  ]
}
  • componentsDir: Default ''. Path of gpp-components directory.
1.1.1

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago