From c64a1a9992f165794faab410d58267959955122d Mon Sep 17 00:00:00 2001 From: Caden Marinozzi Date: Sat, 17 Feb 2024 07:59:21 -0800 Subject: [PATCH] Fixed README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d9f346c..4c6056f 100644 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ module.exports = { ## Functional Usage -Scraipt can also be used easily with a functional approach. To do so, import `useScraipt` from the `scraipt` library and call it with your webpack configuration. +Scraipt can also be used easily with a functional approach. To do so, import `useScraipt` from the `scraipt/functional` library and call it with your webpack configuration. `useScraipt(webpackConfig , options , framework ) => WebpackConfig` @@ -228,7 +228,7 @@ Scraipt can also be used easily with a functional approach. To do so, import `us ### Example ```javascript -const { useScraipt } = require('scraipt'); +const { useScraipt } = require('scraipt/functional'); module.exports = useScraipt( { @@ -293,6 +293,8 @@ npm run build-dev # Development (Uses tsc) npm run build-production # Production (Uses webpack) ``` +The built project will be in the `dist` directory. + ## Testing To run the tests, run the following command in the root of the project directory: