Initial commit
This commit is contained in:
commit
b36a9bdaab
20 changed files with 7600 additions and 0 deletions
12
next.config.js
Normal file
12
next.config.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
webpack: (config) => {
|
||||
// Handle serialport native bindings for server-side
|
||||
config.externals.push({
|
||||
'serialport': 'commonjs serialport'
|
||||
});
|
||||
return config;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
Loading…
Add table
Add a link
Reference in a new issue