Nostalgic Pizza Manager

    webpack-comment-remover-loader

    0.0.3 • Public • Published

    npm version

    webpack-comment-remover-loader

    A webpack loader that will remove JS comments from a file.

    Uses strip-json-comments to remove the comments.

    Loading JSON files which contain comments

    Can be used with json-loader to load json files which contain comments.

    Example webpack config snippet:

    {
        test: /\.json$/,
        loaders: ['json-loader', 'webpack-comment-remover-loader'],
        exclude: /node_modules/
    }

    Install

    npm i webpack-comment-remover-loader

    DownloadsWeekly Downloads

    103

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • tjenkinson