From 3b2984d4466a99e24a79a58a563a334abf4c3074 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sun, 17 May 2020 21:03:28 +0200 Subject: [PATCH] move notice avoir .npmrc --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 770c6bc..0b37aa5 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ Besides, good stuff that comes with using this template: If you don't want to bother and includes everything just remove the ``files`` field from the ``package.json`` otherwise remember, when you add a subdirectory in ``src/``, to update the ``package.json`` ``files``. - If you are going to programmatically load files outside of the ``dis/`` directory ( like the ``package.json`` or files inside ``res/`` ) be mindful that the paths might not be the one you expect. [Details](#accessing-files-outside-the-dist-directory). +- The template does not support ``.npmignore`` ( it use the safer ``package.json`` ``files`` instead ). +- The template does not support ``.npmrc``. # How to use @@ -104,9 +106,6 @@ You can use [shields.io](https://shields.io) to create badges on metrics you wou # Accessing files outside the ``dist/`` directory -- The template does not support ``.npmignore`` use ``package.json`` ``files`` instead. -- The template does not support ``.npmrc`` - The drawback of having short import path is that the dir structure is not exactly the same in production ( in the npm bundle ) and in development.