<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yuta Hiroto</title>
    <description>The latest articles on DEV Community by Yuta Hiroto (@abouthiroppy).</description>
    <link>https://dev.to/abouthiroppy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F37644%2Fa068b023-1048-48d3-83c3-142499f3485c.jpg</url>
      <title>DEV Community: Yuta Hiroto</title>
      <link>https://dev.to/abouthiroppy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abouthiroppy"/>
    <language>en</language>
    <item>
      <title>Introducing Fusuma: A helper for creating slides with markdown</title>
      <dc:creator>Yuta Hiroto</dc:creator>
      <pubDate>Fri, 22 Jun 2018 23:03:02 +0000</pubDate>
      <link>https://dev.to/abouthiroppy/introduce-fusuma-that-is-a-helper-for-creating-a-slide-536</link>
      <guid>https://dev.to/abouthiroppy/introduce-fusuma-that-is-a-helper-for-creating-a-slide-536</guid>
      <description>&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/hiroppy" rel="noopener noreferrer"&gt;
        hiroppy
      &lt;/a&gt; / &lt;a href="https://github.com/hiroppy/fusuma" rel="noopener noreferrer"&gt;
        fusuma
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      ✍️ Fusuma makes slides with Markdown easily.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div&gt;
  &lt;a rel="noopener noreferrer" href="https://github.com/hiroppy/fusuma./site/docs/assets/logo.svg"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fhiroppy%2Ffusuma.%2Fsite%2Fdocs%2Fassets%2Flogo.svg"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
  &lt;strong&gt;A tool to create slides easily for you ✍ ️&lt;/strong&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;p&gt;&lt;a href="https://www.npmjs.com/package/fusuma" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/e40d4d155a8a15737a74337361b73b8dec2d9e17ee6efa2488e572898e486adb/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f667573756d612e7376673f7374796c653d666c61742d737175617265" alt="npm"&gt;&lt;/a&gt;
&lt;a href="https://dev.azure.com/hiroppy/fusuma" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/676a05c33ec10b1ff30e2fc21fe746a55412bcc008f050c656b7a1b6e05b7f51/68747470733a2f2f696d672e736869656c64732e696f2f617a7572652d6465766f70732f6275696c642f6869726f7070792f31316332626564392d393466392d343665612d613066392d3930386631373633653063342f312e7376673f7374796c653d666c61742d737175617265" alt="Azure"&gt;&lt;/a&gt;
&lt;a href="https://codecov.io/gh/hiroppy/fusuma" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/cf8a4bdaef660ac1e4d69e4e51c833b2eb96b5a11752c8da2dbbc7760a409375/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6869726f7070792f667573756d612e7376673f7374796c653d666c61742d737175617265" alt="Codecov"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Zero Config&lt;/li&gt;
&lt;li&gt;Providing various modes&lt;/li&gt;
&lt;li&gt;Markdown and &lt;a href="https://github.com/mdx-js/mdx" rel="noopener noreferrer"&gt;MDX&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Themes&lt;/li&gt;
&lt;li&gt;Code syntax Highlight, MathJax, Diagrams, and Flowcharts&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/hiroppy/fusuma#lighthouse" rel="noopener noreferrer"&gt;Browser-friendly slides&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;All results for lighthouses are perfect&lt;/li&gt;
&lt;li&gt;Full supporting for SEO and OGP&lt;/li&gt;
&lt;li&gt;Checking &lt;a href="https://developer.mozilla.org/en-US/docs/Glossary/Accessibility" rel="nofollow noopener noreferrer"&gt;a11y(Accessibility)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Customizable JavaScript and CSS&lt;/li&gt;
&lt;li&gt;A sidebar having agenda and some features&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Modes&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Init Mode
&lt;ul&gt;
&lt;li&gt;Creating a slide, style, configuration file&lt;/li&gt;
&lt;li&gt;Creating GitHub actions that deploy slides to gh-pages automatically&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Development Mode
&lt;ul&gt;
&lt;li&gt;Running with HMR&lt;/li&gt;
&lt;li&gt;Just coding Markdown and sometimes CSS&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Build Mode
&lt;ul&gt;
&lt;li&gt;Rendering to html and optimizing js,css,md&lt;/li&gt;
&lt;li&gt;Generating an image of slides as &lt;code&gt;og:image&lt;/code&gt; and checking a11y automatically&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/hiroppy/fusuma#presenter-mode" rel="noopener noreferrer"&gt;Presentation Mode&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Speaker Note&lt;/li&gt;
&lt;li&gt;Timer&lt;/li&gt;
&lt;li&gt;Recording your page actions and voice&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Deploy Mode
&lt;ul&gt;
&lt;li&gt;Deploying to GitHub Pages&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;PDF Mode
&lt;ul&gt;
&lt;li&gt;Exporting slides as PDF&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Demos&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://hiroppy.github.io/fusuma/intro" rel="nofollow noopener noreferrer"&gt;Introducing Fusuma&lt;/a&gt; [&lt;a href="https://github.com/hiroppy/fusuma/packages/playground/intro" rel="noopener noreferrer"&gt;repository&lt;/a&gt;]&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://hiroppy.github.io/fusuma/themes/" rel="nofollow noopener noreferrer"&gt;Themes&lt;/a&gt; [&lt;a href="https://github.com/hiroppy/fusuma/packages/playground/themes" rel="noopener noreferrer"&gt;repository&lt;/a&gt;]&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://hiroppy.github.io/fusuma/advanced/" rel="nofollow noopener noreferrer"&gt;Math, Diagrams, and Flowcharts&lt;/a&gt; [&lt;a href="https://github.com/hiroppy/fusuma/packages/playground/advanced" rel="noopener noreferrer"&gt;repository&lt;/a&gt;]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://gitpod.io/#https://github.com/hiroppy/fusuma/blob/master/samples/intro/slides/0-title.md" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/b04f5659467d23b5109ba935a40c00decd264eea25c22d50a118021349eea94f/68747470733a2f2f676974706f642e696f2f627574746f6e2f6f70656e2d696e2d676974706f642e737667" alt="Open in Gitpod"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Getting Started&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;$ npm i fusuma -D
$&lt;/pre&gt;…
&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/hiroppy/fusuma" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h1&gt;
  
  
  Goal
&lt;/h1&gt;

&lt;p&gt;Created a CLI that supports to release with 1 command without writing webpack, Babel, Postcss, etc setting file.&lt;/p&gt;

&lt;p&gt;And make a slide with markdown only.&lt;/p&gt;

&lt;p&gt;It can quickly create a slide and publish it to gh-pages.&lt;/p&gt;

&lt;h1&gt;
  
  
  Demo
&lt;/h1&gt;

&lt;p&gt;slide: &lt;a href="https://slides.hiroppy.me/the-present-and-future-of-JavaScript/" rel="noopener noreferrer"&gt;https://slides.hiroppy.me/the-present-and-future-of-JavaScript/&lt;/a&gt;&lt;br&gt;
repo: &lt;a href="https://github.com/hiroppy/slides/tree/master/slides/the-present-and-future-of-JavaScript" rel="noopener noreferrer"&gt;https://github.com/hiroppy/slides/tree/master/slides/the-present-and-future-of-JavaScript&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;slide: &lt;a href="https://hiroppy.github.io/fusuma/fx/" rel="noopener noreferrer"&gt;https://hiroppy.github.io/fusuma/fx/&lt;/a&gt;&lt;br&gt;
repo: &lt;a href="https://github.com/hiroppy/fusuma/tree/master/samples/fx" rel="noopener noreferrer"&gt;https://github.com/hiroppy/fusuma/tree/master/samples/fx&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Procedure
&lt;/h1&gt;

&lt;p&gt;You just execute the following three lines for executing, generating and deploying slides.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm i fusuma -D
$ npx fusuma init 
$ mkdir slides &amp;amp;&amp;amp; touch slides/title.md &amp;amp;&amp;amp; echo '# Hello😄' &amp;gt; slides/title.md

# --- executable tasks---
$ npx fusuma start    # development
$ npx fusuma build    # production as NODE_ENV=production
$ npx fusuma deploy   # deploy to github pages
$ npx fusuma pdf      # export as PDF from HTML

# --- Tree ---
$ tree -a
.
├── .fusumarc.yml
└── slides
    └── title.md

1 directory, 2 files
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When &lt;code&gt;npx fusuma start&lt;/code&gt; is executed, it is output as follows.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fhiroppy%2Ffusuma%2Fmaster%2Fmedia%2Fprocedure-screenshot.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fhiroppy%2Ffusuma%2Fmaster%2Fmedia%2Fprocedure-screenshot.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Default theme is bespoke-theme-nebula.&lt;/p&gt;

&lt;p&gt;And only &lt;code&gt;.fusumarc.js&lt;/code&gt; and &lt;code&gt;slides/&lt;/code&gt; are necessary files at the time of execution.&lt;/p&gt;

&lt;h1&gt;
  
  
  Tasks
&lt;/h1&gt;

&lt;p&gt;Fusuma supports the following tasks.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;init&lt;/code&gt;: generate the configuration file(.fusumarc.js)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;start&lt;/code&gt;: run with webpack-dev-server&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;build&lt;/code&gt;: build with webpack4&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;deploy&lt;/code&gt;: upload the prebuilt files to gh-pages&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;pdf&lt;/code&gt;: convert prebuilt files from HTML to pdf&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  What it can do / What it can not do
&lt;/h1&gt;

&lt;h2&gt;
  
  
  What it can do
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;development, build, and deploy can be done with one command&lt;/li&gt;
&lt;li&gt;presenter mode

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/hiroppy/fusuma#presenter-mode" rel="noopener noreferrer"&gt;https://github.com/hiroppy/fusuma#presenter-mode&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;a table of contents is created in Sidebar&lt;/li&gt;

&lt;li&gt;can extend css and js&lt;/li&gt;

&lt;li&gt;can set OGP and SNS&lt;/li&gt;

&lt;li&gt;etc…&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it can not do
&lt;/h2&gt;

&lt;p&gt;Expressing animation is difficult because a slide is written by Markdown.&lt;br&gt;
However, you can write a slide as HTML and extend JS.&lt;/p&gt;




&lt;p&gt;If you interested in Fusuma, please see this repository😍&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/hiroppy/fusuma" rel="noopener noreferrer"&gt;https://github.com/hiroppy/fusuma&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
      <category>markdown</category>
      <category>tools</category>
    </item>
    <item>
      <title>sweetpack: helps eliminate time to suffer from webpack andÂ babelðŸ˜‹</title>
      <dc:creator>Yuta Hiroto</dc:creator>
      <pubDate>Tue, 17 Oct 2017 15:18:31 +0000</pubDate>
      <link>https://dev.to/abouthiroppy/sweetpack-helps-eliminate-time-to-suffer-from-webpack-andbabel-3m7</link>
      <guid>https://dev.to/abouthiroppy/sweetpack-helps-eliminate-time-to-suffer-from-webpack-andbabel-3m7</guid>
      <description>&lt;p&gt;repo: &lt;a href="https://github.com/abouthiroppy/sweetpack"&gt;https://github.com/abouthiroppy/sweetpack&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;npm i sweetpack &lt;span class="nt"&gt;--save-dev&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What’s sweetpack?
&lt;/h2&gt;

&lt;p&gt;sweetpack helps you build your environment of webpack and babel.&lt;br&gt;
sweetpack hides all common settings of webpack and babel, you are not taking the time to write the configuration.&lt;/p&gt;
&lt;h2&gt;
  
  
  Goal
&lt;/h2&gt;

&lt;p&gt;webpack can do anything so I think it is very difficult to abstract.&lt;br&gt;
So, the goal is to help you build a simple application at first.&lt;br&gt;
Also, the target is the web.&lt;/p&gt;
&lt;h2&gt;
  
  
  What can sweetpack do?
&lt;/h2&gt;

&lt;p&gt;sweetpack supports the following.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;uses react by the option(default: false)&lt;/li&gt;
&lt;li&gt;uses flow by the option(default: false)&lt;/li&gt;
&lt;li&gt;uses css-modules by the option(default: false)&lt;/li&gt;
&lt;li&gt;uses postcss-loader by the option(default: false)&lt;/li&gt;
&lt;li&gt;uses a template engine of html(by html-webpack-plugin)&lt;/li&gt;
&lt;li&gt;can loadÂ .env&lt;/li&gt;
&lt;li&gt;webpack-dev-server is activated and enabled HMR by default at the development&lt;/li&gt;
&lt;li&gt;uses react-hot-loader@next at development(default: false)&lt;/li&gt;
&lt;li&gt;attaches hash to the filename when production&lt;/li&gt;
&lt;li&gt;splits files by extension when production(default: false)&lt;/li&gt;
&lt;li&gt;performs code optimization when production&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  .sweetpack.yml
&lt;/h2&gt;

&lt;p&gt;sweetpach provides the config file.&lt;br&gt;
The default settings are as follows.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;entry&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;src/index.js&lt;/span&gt;
&lt;span class="na"&gt;output&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;dist&lt;/span&gt;
&lt;span class="na"&gt;js&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;flow&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;react&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;false&lt;/span&gt;
&lt;span class="na"&gt;css&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;modules&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;postcss&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;false&lt;/span&gt;
&lt;span class="na"&gt;html&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;filename&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;null&lt;/span&gt;
  &lt;span class="na"&gt;template&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;null&lt;/span&gt;
&lt;span class="na"&gt;dev&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;null&lt;/span&gt;
  &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;8080&lt;/span&gt;
  &lt;span class="na"&gt;analyzer&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;dashboard&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;true&lt;/span&gt;
&lt;span class="na"&gt;prod&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;null&lt;/span&gt;
  &lt;span class="na"&gt;url&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;extract&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="no"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the configuration file can not be found, the above default setting is reflected.&lt;br&gt;
This file can be generated with &lt;code&gt;init&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Plugins Included
&lt;/h2&gt;

&lt;p&gt;The list of used plugins is &lt;a href="https://github.com/abouthiroppy/sweetpack#activated-plugins"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;An example of the smallest configuration.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;package.json&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"scripts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"sweetpack watch"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"build"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"cross-env NODE_ENV=production sweetpack build"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;.sweetpack.yml&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;entry&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;./lib/index.js&lt;/span&gt;
&lt;span class="na"&gt;output&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;dist/bundle.js&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Directory Structure&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;â”œâ”€â”€ dist
â”œâ”€â”€ lib
â”‚   â””â”€â”€ index.js
â””â”€â”€ package.json
2 directory, 2 files
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you run &lt;code&gt;npm start&lt;/code&gt;, You can develop using webpack-dev-server and webpack-dashboard during development.&lt;/p&gt;

&lt;p&gt;And you run &lt;code&gt;npm run build&lt;/code&gt;, &lt;code&gt;dist/&lt;/code&gt; is created.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dist
â”œâ”€â”€ bundle.2ea3ca43d449dd5fdc16.js
â””â”€â”€ index.html
0 directories, 2 files
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The html and js are automatically created and the hash is added to the file name.(also optimized)&lt;/p&gt;

&lt;p&gt;Of course, css-loader and file-loader are included, so you can use css, png, gif, etc.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It is very easy to build development environment and production environmentðŸ¤“&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An example of turning on all settings&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/abouthiroppy/sweetpack/tree/master/samples/all"&gt;https://github.com/abouthiroppy/sweetpack/tree/master/samples/all&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  feedback is very very welcomeÂ :)
&lt;/h2&gt;

&lt;p&gt;If you are interested, please use sweetpackðŸ™&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/abouthiroppy/sweetpack"&gt;https://github.com/abouthiroppy/sweetpack&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you enjoy it!!&lt;br&gt;
Cheers.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>library</category>
      <category>webpack</category>
      <category>react</category>
    </item>
  </channel>
</rss>
