0.0.16 • Published 4 years ago

craftpack v0.0.16

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

craftpack

Craftpack is small utility that provides common Webpack configuration used to TypeScript Node.js application. In future it will become an CLI to bundle React.js/Node.js applications with TypeScript support.

  • Friendly Error Handling
  • Build Progress Bar
  • Extendable

Usage

Install two important packages as a development deps:

yarn add webpack craftpack -D

Create a webpack.config.js file with following content (mostly), if you need to change this, don't worry and go ahead.

const configure = require("craftpack");
const path = require("path");

module.exports = configure({
  output: {
    filename: "[name].bundle.js",
    path: path.join(__dirname, "dist"),
  },
  entry: {
    main: path.join(__dirname, "src", "index.ts"),
  },
});

Update scripts in your package.json, there you can use my set.

{
  "start:dev": "webpack -watch",
  "build": "webpack"
}

Future Plans?

  • CLI
  • Nodemon Integration
0.0.15

4 years ago

0.0.16

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago