sweet-default-configs

1.1.3 • Public • Published

Commitizen friendly semantic-release

Shaun's front end tooling configs

Table of Contents

  1. Installation
  2. Usage a. Typescript b. Webpack Configs

Installation

npm i -D sweet-configs

Usage

Typescript

{
  "include": ["./src/**/*"],
  "exclude": ["node_modules"],
  "compilerOptions": {
    "baseUrl": "./",
    "outDir": "./dist/"
  },
  "extends": "./node_modules/sweet-configs/typescript/tsconfig.json",
}

Webpack Configs

Typescript Loader

const typescriptWebpack = require("./node_modules/sweet-default-configs/webpack/typescript.js");
const merge = require("webpack-merge");
module.exports = merge(typescriptWebpack, {
  entry: "./src/index.ts",  // Pass in your own entry point, can be .jsx
  output: {
    filename: "bundle.js",
    path: __dirname + "/dist"
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i sweet-default-configs

Weekly Downloads

0

Version

1.1.3

License

ISC

Unpacked Size

7.48 kB

Total Files

7

Last publish

Collaborators

  • ssweet