Skip to content

Commit 38d31fa

Browse files
committed
installed webpack
1 parent 67f1c97 commit 38d31fa

File tree

5 files changed

+1370
-1
lines changed

5 files changed

+1370
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
# ml5-neuralnetwork-test-build
22
This repo is a test to see what it would take to create a new build for ml5.
33

4-
## Build Process
4+
## Setup
5+
This build uses node version 18.15.0 and npm version.
6+
Install nvm and run the following commands:
7+
```
8+
nvm install 18.15
9+
nvm use 18
10+
```
11+
12+
## Process
13+
I built the library using Webpack:
14+
```
15+
npm install --save-dev webpack webpack cli
16+
```
17+
Then I created package.json using `npm init`.

package/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function printHelloWorld() {
2+
console.log("Hello world!");
3+
}
4+
5+
module.exports = printHelloWorld;

0 commit comments

Comments
 (0)