@drieam/webpacker

    8.0.0 • Public • Published

    npm

    @drieam/webpacker

    A design system and React component library for the web that lets you quickly build high-quality, accessible apps. Created by Drieam.

    Getting Started

    Installation

    Install the @drieam/webpacker and its dependencies.

    yarn add @drieam/webpacker

    Usage

    Basically this package is use in Rails app on config/webpack/environment.js.

    /* eslint-disable import/no-extraneous-dependencies, global-require, func-names */
    const path = require('path');
    const { environment } = require('@drieam/webpacker');
    
    module.exports = environment;

    Add the following tags in the head in layouts/application.html.erb:

        <%= javascript_packs_with_chunks_tag 'application' %>
        <%= stylesheet_packs_with_chunks_tag 'application', media: 'all' %>

    Contributing

    We welcome all contributors who abide by our Code of Conduct. Please see the Contributors Guide for more details on submitting a PR, setting up a local dev environment, running tests, etc...

    Versioning

    Until this project reaches a 1.0 milestone, minor version numbers will simply be incremented during each release. The Changelog will continue to document the different types of updates, including any "breaking changes".

    After the 1.0 milestone, this project will follow SemVer.

    Keywords

    none

    Install

    npm i @drieam/webpacker

    DownloadsWeekly Downloads

    264

    Version

    8.0.0

    License

    MIT

    Unpacked Size

    35.6 kB

    Total Files

    10

    Last publish

    Collaborators

    • stef.schenkelaars
    • hbarrientosg
    • drieambot
    • ellya
    • martijnpieters