Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@awkward/webpack-config-sketch-web

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awkward/webpack-config-sketch-web

Shared Webpack config for Sketch Web projects

  • 0.0.18
  • latest
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

webpack-config-sketch-web

This package contains Webpack configuration commonly used in Sketch Web projects.

Features

  • Hot reloading
  • Transpile ES6+ and Sass code
  • Compile Sass
  • Use CSS modules by suffixing your CSS filename with .module.(s)css.

Installation

npm i -D @awkward/webpack-config-sketch-web

Usage

1. Install

npm i -D @awkward/webpack-config-sketch-web

2. Create a webpack.config.js file

webpack.config.js

import createConfig from '@awkward/webpack-config-sketch-web'

export default createConfig({
  // Entry point
  in: 'src/App.js',

  // Directory to output the build
  out: 'dist',

  // Custom Babel config, this config will be deeply merged with the default config
  babel: {
    plugins: ['transform-function-bind']
  }
})

FAQs

Package last updated on 12 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc