2.1.0 • Published 8 months ago

@grafikr/shopify-devserver v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Shopify DevServer

Shopify DevServer is a package to make webpack DevSever work with Shopify.

Installation

You can install the package using Yarn:

$ yarn install @grafikr/shopify-devserver --save-dev

Usage

In your webpack config file, add the package to the devServer attribute. It could look like this:

const devServer = require('@grafikr/shopify-devserver');

module.exports = (env) => ({
  ...

  devServer: devServer(env),

  ...
});

Once this is done, you should be able to run webpack with the serve command.

For easy integration, you can add it as an action to your scripts in package.json.

{
  "scripts": {
    "serve": "webpack serve --mode development --hot"
  }
}
2.1.0

8 months ago

2.0.0

8 months ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago